ref: 8eb05255fb07b704b3b0fc751016ef2c4ae15c2a
parent: 24703f8b399b8440cee944b5152ae9189c0a9dce
author: Werner Lemberg <[email protected]>
date: Tue Jun 27 02:20:01 EDT 2006
* src/bdf/bdfdrivr.c (BDF_Face_Init): Handle fonts correctly which don't have a POINT_SIZE property. This fixes Savannah bug #16914.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-26 Werner Lemberg <[email protected]>
+
+ * 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 <[email protected]>
* src/psaux/t1decode.c (T1_Operator, t1_args_count): Add opcode 15.
--- a/src/bdf/bdfdrivr.c
+++ b/src/bdf/bdfdrivr.c
@@ -435,6 +435,8 @@
/* 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 )