shithub: freetype+ttf2subf

Download patch

ref: 7981fe2a0f9b79d384e98e8868bdeeaf9ec6b5f0
parent: 4dbf00aa237916df9fbfe4624dad102648096078
author: Suzuki, Toshiya (鈴木俊哉) <[email protected]>
date: Fri Aug 29 02:09:03 EDT 2008

* src/sfnt/sfobjs.c (sfnt_open_font): Use TTAG_OTTO

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-29  suzuki toshiya <[email protected]>
+
+	* src/sfnt/sfobjs.c (sfnt_open_font): Use TTAG_OTTO defined in
+	ttags.h instead of FT_MAKE_TAG( 'O', 'T', 'T', 'O' ).
+
 2008-08-28  Werner Lemberg  <[email protected]>
 
 	* src/type1/t1load.c (parse_encoding): Protect against infinite
--- a/src/sfnt/sfobjs.c
+++ b/src/sfnt/sfobjs.c
@@ -365,7 +365,7 @@
 
     if ( tag != 0x00010000UL                      &&
          tag != TTAG_ttcf                         &&
-         tag != FT_MAKE_TAG( 'O', 'T', 'T', 'O' ) &&
+         tag != TTAG_OTTO                         &&
          tag != TTAG_true                         &&
          tag != 0x00020000UL                      )
       return SFNT_Err_Unknown_File_Format;