* src/cff/cffobjs.c (cff_face_init): Set ppem value in top

dictionary for SFNT-based CFF.
This commit is contained in:
Werner Lemberg 2005-05-06 19:24:13 +00:00
parent 0b5282f170
commit 753daf1cee
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-05-06 Werner Lemberg <wl@gnu.org>
* src/cff/cffobjs.c (cff_face_init): Set ppem value in top
dictionary for SFNT-based CFF.
2005-05-05 Werner Lemberg <wl@gnu.org>
Handle malformed `loca' table entries.

View File

@ -685,6 +685,11 @@
cffface->style_flags = flags;
}
else
{
if ( !dict->units_per_em )
dict->units_per_em = face->root.units_per_EM;
}
/* handle font matrix settings in subfonts (if any) */
for ( i = cff->num_subfonts; i > 0; i-- )