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

This commit is contained in:
Werner Lemberg 2003-05-02 18:52:17 +00:00
parent 08ba57b25c
commit 2728e4452d
2 changed files with 8 additions and 3 deletions

View File

@ -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...

View File

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