diff --git a/vfs-methods/fontilus/ChangeLog b/vfs-methods/fontilus/ChangeLog index 194320ea7..be7f3b521 100644 --- a/vfs-methods/fontilus/ChangeLog +++ b/vfs-methods/fontilus/ChangeLog @@ -1,3 +1,10 @@ +2002-12-06 James Henstridge + + * src/font-view.c (create_text_pixmap): only display the font at + its fixed sizes if it is not scalable. Before we were ignoring + the outlines on fonts such as Lucida Console, which includes both + outlines and bitmaps for small sizes. + 2002-12-06 Yanko Kaneti * Makefile.am (EXTRA_DIST): diff --git a/vfs-methods/fontilus/font-view.c b/vfs-methods/fontilus/font-view.c index e93a9cb66..b8760bba5 100644 --- a/vfs-methods/fontilus/font-view.c +++ b/vfs-methods/fontilus/font-view.c @@ -81,7 +81,7 @@ create_text_pixmap(GtkWidget *drawing_area, FT_Face face) pos_y = 4; /* bitmap fonts */ - if (face->num_fixed_sizes > 0) { + if (!FT_IS_SCALABLE(face)) { for (i = 0; i < face->num_fixed_sizes; i++) { draw_text(xdisplay, draw, face, face->available_sizes[i].width, &colour, text, textlen, &pos_y);