ref: 4cdfefd4bd0d1ae521a77385f5f0b635579c8771
parent: 32760d33d0ebc3ba756d2bc0cce1defdafe51299
author: Derek B. Noonburg <[email protected]>
date: Tue Jan 19 02:12:44 EST 2016
[truetype] Add another tricky font. * src/truetype/ttobjs.c (TRICK_SFNT_IDS_NUM_FACES): Increase. (sfnt_id): Add variant of `DFKaiShu'.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2016-01-19 Derek B. Noonburg <[email protected]>
+
+ [truetype] Add another tricky font.
+
+ * src/truetype/ttobjs.c (TRICK_SFNT_IDS_NUM_FACES): Increase.
+ (sfnt_id): Add variant of `DFKaiShu'.
+
2016-01-14 Alexei Podtelezhnikov <[email protected]>
[base] Empower `FT_Library_SetLcdFilterWeights'.
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -141,7 +141,6 @@
/* FT_FACE_FLAG_GLYPH_NAMES */
/* FT_FACE_FLAG_EXTERNAL_STREAM */
/* FT_FACE_FLAG_HINTER */
- /* FT_FACE_FLAG_TRICKY */
/* */
/* FT_HAS_HORIZONTAL */
/* FT_HAS_VERTICAL */
--- a/src/truetype/ttobjs.c
+++ b/src/truetype/ttobjs.c
@@ -246,7 +246,7 @@
tt_check_trickyness_sfnt_ids( TT_Face face )
{
#define TRICK_SFNT_IDS_PER_FACE 3
-#define TRICK_SFNT_IDS_NUM_FACES 17
+#define TRICK_SFNT_IDS_NUM_FACES 18
static const tt_sfnt_id_rec sfnt_id[TRICK_SFNT_IDS_NUM_FACES]
[TRICK_SFNT_IDS_PER_FACE] = {
@@ -268,6 +268,11 @@
{ /* DFKaiShu */
{ 0x11E5EAD4UL, 0x00000350UL }, /* cvt */
{ 0x5A30CA3BUL, 0x00009063UL }, /* fpgm */
+ { 0x13A42602UL, 0x0000007EUL } /* prep */
+ },
+ { /* DFKaiShu2 */
+ { 0x11E5EAD4UL, 0x00000350UL }, /* cvt */
+ { 0xA6E78C01UL, 0x00008998UL }, /* fpgm */
{ 0x13A42602UL, 0x0000007EUL } /* prep */
},
{ /* HuaTianKaiTi */