shithub: freetype+ttf2subf

Download patch

ref: f9644559a885fd61e3896cab5d6bd57fe2ed6a1a
parent: f3050059dd18c2efe6dc455bbf86a2405f4959cc
author: Werner Lemberg <[email protected]>
date: Tue Sep 12 09:48:10 EDT 2006

formatting

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,19 +1,19 @@
 2006-09-11  David Turner  <[email protected]>
 
-        * src/sfnt/sfobjs.c (tt_face_get_name): support some function
-        which report their English names through an Apple Roman
-        (platform,encoding) pair, with language_id != English
+	* src/sfnt/sfobjs.c (tt_face_get_name): Support some fonts which
+	report their English names through an Apple Roman
+	(platform,encoding) pair, with language_id != English.
 
-        if the font uses another name entry with language_id == English,
-        it will be selected correctly though.
+	If the font uses another name entry with language_id == English, it
+	will be selected correctly, though.
 
-        * src/truetype/ttobjs.c: add unpatent-hinting selection for
-        "mingli.ttf"
+	* src/truetype/ttobjs.c (tt_face_init): Add unpatented hinting
+	selection for `mingli.ttf'.
 
 2006-09-05  Werner Lemberg  <[email protected]>
 
 	* src/truetype/ttpload.c (tt_face_load_hdmx): Handle `record_size'
-	values which have the upper two bytes set to 0xFF instead of 0xFF
+	values which have the upper two bytes set to 0xFF instead of 0x00
 	(as it happens in at least two CJKV fonts, `HAN NOM A.ttf' and
 	`HAN NOM B.ttf').
 
--- a/src/sfnt/sfobjs.c
+++ b/src/sfnt/sfobjs.c
@@ -202,15 +202,14 @@
           break;
 
         case TT_PLATFORM_MACINTOSH:
-          /* This is a bit special, because some fonts will use either
-           * an English language id, or a Roman encoding id, to indicate
-           * the English version of their font name
-           */
+          /* This is a bit special because some fonts will use either    */
+          /* an English language id, or a Roman encoding id, to indicate */
+          /* the English version of its font name.                       */
+          /*                                                             */
           if ( rec->languageID == TT_MAC_LANGID_ENGLISH )
             found_apple_english = n;
           else if ( rec->encodingID == TT_MAC_ID_ROMAN )
             found_apple_roman = n;
-
           break;
 
         case TT_PLATFORM_MICROSOFT: