diff --git a/ChangeLog b/ChangeLog index caff1ac4d..346a3058f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-06-26 Werner Lemberg + + * src/bdf/bdfdrivr.c (BDF_Face_Init): Handle fonts correctly which + don't have a POINT_SIZE property. This fixes Savannah bug #16914. + 2006-06-26 Jens Claudius * src/psaux/t1decode.c (T1_Operator, t1_args_count): Add opcode 15. diff --git a/src/bdf/bdfdrivr.c b/src/bdf/bdfdrivr.c index b03c8d0f8..c7939e31d 100644 --- a/src/bdf/bdfdrivr.c +++ b/src/bdf/bdfdrivr.c @@ -435,6 +435,8 @@ THE SOFTWARE. /* convert from 722.7 decipoints to 72 points per inch */ bsize->size = (FT_Pos)( ( prop->value.int32 * 64 * 7200 + 36135L ) / 72270L ); + else + bsize->size = bsize->width << 6; prop = bdf_get_font_property( font, "PIXEL_SIZE" ); if ( prop )