[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Freetype] Problem with bdf bitmap_left
From: |
Christian Demmer |
Subject: |
[Freetype] Problem with bdf bitmap_left |
Date: |
Sat, 28 Feb 2004 13:16:01 +0100 |
Hello,
I have a problem with the glyph positions of small glyphs in bdf fonts,
see: <http://gcjd.de/monaco9.png> and look at the position of the "i" in
quick for example. The problem disappears if the font is converted
(bdftopcf) to pcf.
I believe that in bdfdrvr.c at the bottom of BDF_Set_Pixel_Size:
slot->bitmap_left = 0;
slot->bitmap_top = glyph.bbx.ascent;
the first line is not always correct.
In pcfdrv.c it is:
slot->bitmap_left = metric->leftSideBearing;
slot->bitmap_top = metric->ascent;
which produces correct results as far as I can see.
Greetings, Christian
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freetype] Problem with bdf bitmap_left,
Christian Demmer <=