* src/bdf/bdfdrivr.c (BDF_Set_Pixel_Size): Initialize `max_advance'.
This commit is contained in:
parent
a547a532a1
commit
0fdb9cc5e2
|
@ -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…
Reference in New Issue