shithub: freetype+ttf2subf

Download patch

ref: 8b05b5d801e66846caa6aed66c1d24f20f4da705
parent: f434e299067c8d7ae43fbb6e021b283c3f2303c8
author: suzuki toshiya <[email protected]>
date: Sat Aug 28 17:16:26 EDT 2010

Register yet another tricky TrueType font.

* src/truetype/ttobjs.c (tt_check_trickyness): Add `HuaTianKaiTi?',
a Kaishu typeface paired with `HuaTianSongTi?' by Huatian
Information Industry.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-08-28  suzuki toshiya  <[email protected]>
+
+	Register yet another tricky TrueType font.
+
+	* src/truetype/ttobjs.c (tt_check_trickyness): Add `HuaTianKaiTi?',
+	a Kaishu typeface paired with `HuaTianSongTi?' by Huatian
+	Information Industry.
+
 2010-08-17  Teijo Kinnunen <[email protected]>
 
 	Fix Savannah bug #30788.
--- a/src/truetype/ttobjs.c
+++ b/src/truetype/ttobjs.c
@@ -149,12 +149,13 @@
   tt_check_trickyness( FT_String*  name )
   {
 #define TRICK_NAMES_MAX_CHARACTERS  16
-#define TRICK_NAMES_COUNT 7
+#define TRICK_NAMES_COUNT 8
     static const char trick_names[TRICK_NAMES_COUNT][TRICK_NAMES_MAX_CHARACTERS+1] =
     {
       "DFKaiSho-SB",     /* dfkaisb.ttf */
       "DFKaiShu",
       "DFKai-SB",        /* kaiu.ttf */
+      "HuaTianKaiTi?",   /* htkt2.ttf */
       "HuaTianSongTi?",  /* htst3.ttf */
       "MingLiU",         /* mingliu.ttf & mingliu.ttc */
       "PMingLiU",        /* mingliu.ttc */