forked from minhngoc25a/freetype2
[sfnt] Ignore all errors while loading `OS/2' table.
Suggested by Johnson Y. Yan <yinsen_yan@foxitsoftware.com>. * src/sfnt/sfobjs.c (sfnt_load_face): Do it.
This commit is contained in:
parent
b70d8a0ef6
commit
fa764cf868
|
@ -1,3 +1,10 @@
|
|||
2010-11-18 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[sfnt] Ignore all errors while loading `OS/2' table.
|
||||
Suggested by Johnson Y. Yan <yinsen_yan@foxitsoftware.com>.
|
||||
|
||||
* src/sfnt/sfobjs.c (sfnt_load_face): Do it.
|
||||
|
||||
2010-11-18 Johnson Y. Yan <yinsen_yan@foxitsoftware.com>
|
||||
|
||||
[type1] Fix matrix normalization.
|
||||
|
|
|
@ -691,9 +691,7 @@
|
|||
LOAD_( os2 );
|
||||
if ( error )
|
||||
{
|
||||
if ( error != SFNT_Err_Table_Missing )
|
||||
goto Exit;
|
||||
|
||||
/* we treat the table as missing if there are any errors */
|
||||
face->os2.version = 0xFFFFU;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue