[truetype] Typo.
Problem reported by Hin-Tak Leung <htl10@users.sourceforge.net>. * src/sfnt/sfobjs.c (sfnt_load_face): Return correct `bsize->width' value if the font lacks an `OS/2' table.
This commit is contained in:
parent
427b176893
commit
8af2a1cd95
@ -1,3 +1,12 @@
|
||||
2013-11-21 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[truetype] Typo.
|
||||
|
||||
Problem reported by Hin-Tak Leung <htl10@users.sourceforge.net>.
|
||||
|
||||
* src/sfnt/sfobjs.c (sfnt_load_face): Return correct `bsize->width'
|
||||
value if the font lacks an `OS/2' table.
|
||||
|
||||
2013-11-21 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[truetype] Improve handling of buggy embedded bitmap strikes.
|
||||
|
@ -1339,7 +1339,7 @@
|
||||
|
||||
if ( em_size == 0 || face->os2.version == 0xFFFFU )
|
||||
{
|
||||
avgwidth = 0;
|
||||
avgwidth = 1;
|
||||
em_size = 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user