* src/bdf/bdfdrivr.c (BDF_Face_Init): Handle fonts correctly which

don't have a POINT_SIZE property.  This fixes Savannah bug #16914.
This commit is contained in:
Werner Lemberg 2006-06-27 06:20:01 +00:00
parent 24703f8b39
commit 8eb05255fb
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-06-26 Werner Lemberg <wl@gnu.org>
* 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 <jens.claudius@yahoo.com>
* src/psaux/t1decode.c (T1_Operator, t1_args_count): Add opcode 15.

View File

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