ref: 0fdb9cc5e26177671c2f8e45b08164b7ee6ca9a8
parent: a547a532a1d577cb264e17fbb699345f3babed69
author: Werner Lemberg <[email protected]>
date: Fri May 2 14:52:17 EDT 2003
* src/bdf/bdfdrivr.c (BDF_Set_Pixel_Size): Initialize `max_advance'.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-05-02 Keith Packard <[email protected]>
+
+ * src/bdf/bdfdrivr.c (BDF_Set_Pixel_Size): Initialize `max_advance'.
+
2003-05-01 Werner Lemberg <[email protected]>
* src/autohint/ahglyph.c (ah_test_extrema): Renamed to...
--- a/src/bdf/bdfdrivr.c
+++ b/src/bdf/bdfdrivr.c
@@ -464,9 +464,10 @@
if ( size->metrics.y_ppem == root->available_sizes->height )
{
- size->metrics.ascender = face->bdffont->bbx.ascent << 6;
- size->metrics.descender = face->bdffont->bbx.descent * ( -64 );
- size->metrics.height = face->bdffont->bbx.height << 6;
+ size->metrics.ascender = face->bdffont->bbx.ascent << 6;
+ size->metrics.descender = face->bdffont->bbx.descent * ( -64 );
+ size->metrics.height = face->bdffont->bbx.height << 6;
+ size->metrics.max_advance = face->bdffont->bbx.width << 6;
return BDF_Err_Ok;
}