* src/bdf/bdfdrivr.c (BDF_Set_Pixel_Size): Initialize `max_advance'.

BRANCH-2-1-5
Werner Lemberg 22 years ago
parent 08ba57b25c
commit 2728e4452d
  1. 4
      ChangeLog
  2. 7
      src/bdf/bdfdrivr.c

@ -1,3 +1,7 @@
2002-05-02 Keith Packard <keithp@keithp.com>
* src/bdf/bdfdrivr.c (BDF_Set_Pixel_Size): Initialize `max_advance'.
2003-05-01 Werner Lemberg <wl@gnu.org>
* src/autohint/ahglyph.c (ah_test_extrema): Renamed to...

@ -464,9 +464,10 @@ THE SOFTWARE.
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;
}

Loading…
Cancel
Save