* src/truetype/ttobjs.c (tt_face_init): Accept 0x00020000 format tag
found in some Arphic fonts made for Chinese version of Windows 3.1.
This commit is contained in:
parent
3fb70ba644
commit
9f8309f12a
@ -1,3 +1,8 @@
|
||||
2004-07-23 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/truetype/ttobjs.c (tt_face_init): Accept 0x00020000 format tag
|
||||
found in some Arphic fonts made for Chinese version of Windows 3.1.
|
||||
|
||||
2004-07-17 David Turner <david@freetype.org>
|
||||
|
||||
Fixed a dangling pointer bug in the cache code that happened in very
|
||||
|
@ -190,8 +190,11 @@
|
||||
if ( error )
|
||||
goto Exit;
|
||||
|
||||
/* We must also be able to accept Mac/GX fonts, as well as OT ones */
|
||||
/* We must also be able to accept Mac/GX fonts, as well as OT ones. */
|
||||
/* The 0x00020000 tag is completely undocumented; some fonts from */
|
||||
/* Arphic made for Chinese Windows 3.1 have this. */
|
||||
if ( face->format_tag != 0x00010000L && /* MS fonts */
|
||||
face->format_tag != 0x00020000L && /* CJK fonts for Win 3.1 */
|
||||
face->format_tag != TTAG_true ) /* Mac fonts */
|
||||
{
|
||||
FT_TRACE2(( "[not a valid TTF font]\n" ));
|
||||
|
Loading…
Reference in New Issue
Block a user