only display the font at its fixed sizes if it is not scalable. Before we

2002-12-06  James Henstridge  <james@daa.com.au>

    * 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.
This commit is contained in:
James Henstridge 2002-12-06 08:59:05 +00:00 committed by James Henstridge
parent 162c00c9d4
commit 76b15956a5
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2002-12-06 James Henstridge <james@daa.com.au>
* 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 <yaneti@declera.com>
* Makefile.am (EXTRA_DIST):

View file

@ -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);