* src/bdf/bdfdrivr.c (BDF_Glyph_Load): Fix left side bearing.
This commit is contained in:
parent
9a38e3dd35
commit
60e0a4d5db
|
@ -1,3 +1,7 @@
|
|||
2004-03-21 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/bdf/bdfdrivr.c (BDF_Glyph_Load): Fix left side bearing.
|
||||
|
||||
2004-03-20 Steve Hartwell <shspamsink@comcast.net>
|
||||
|
||||
* src/cache/ftcmru.c (FTC_MruList_RemoveSelection): Handle a NULL
|
||||
|
|
|
@ -720,14 +720,13 @@ THE SOFTWARE.
|
|||
}
|
||||
}
|
||||
|
||||
slot->bitmap_left = 0;
|
||||
slot->bitmap_left = glyph.bbx.x_offset;
|
||||
slot->bitmap_top = glyph.bbx.ascent;
|
||||
|
||||
/* FZ XXX: TODO: vertical metrics */
|
||||
slot->metrics.horiAdvance = glyph.dwidth << 6;
|
||||
slot->metrics.horiBearingX = glyph.bbx.x_offset << 6;
|
||||
slot->metrics.horiBearingY = ( glyph.bbx.y_offset +
|
||||
glyph.bbx.height ) << 6;
|
||||
slot->metrics.horiBearingY = glyph.bbx.ascent << 6;
|
||||
slot->metrics.width = bitmap->width << 6;
|
||||
slot->metrics.height = bitmap->rows << 6;
|
||||
|
||||
|
|
Loading…
Reference in New Issue