shithub: freetype+ttf2subf

Download patch

ref: f784a5653a0f5a962ee358492740718057f7fe0c
parent: 8cd31eb7b0c0af307f5f31109685963e522718fc
author: Werner Lemberg <[email protected]>
date: Sat May 6 20:45:05 EDT 2017

[truetype] Add tricky font `DLCHayMedium' (from Dynalab).

Reported by Roy Tam <[email protected]>.

* src/truetype/ttobjs.c (tt_check_trickyness_family): Implement it.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2017-05-07  Werner Lemberg  <[email protected]>
+
+	[truetype] Add tricky font `DLCHayMedium' (from Dynalab).
+
+	Reported by Roy Tam <[email protected]>.
+
+	* src/truetype/ttobjs.c (tt_check_trickyness_family): Implement it.
+
 2017-05-03  Werner Lemberg  <[email protected]>
 
 	*/*: s/backwards compatibility/backward compatibility/.
--- a/src/truetype/ttobjs.c
+++ b/src/truetype/ttobjs.c
@@ -147,7 +147,7 @@
   {
 
 #define TRICK_NAMES_MAX_CHARACTERS  19
-#define TRICK_NAMES_COUNT            9
+#define TRICK_NAMES_COUNT           10
 
     static const char trick_names[TRICK_NAMES_COUNT]
                                  [TRICK_NAMES_MAX_CHARACTERS + 1] =
@@ -155,6 +155,7 @@
       "DFKaiSho-SB",        /* dfkaisb.ttf */
       "DFKaiShu",
       "DFKai-SB",           /* kaiu.ttf */
+      "DLCHayMedium",       /* dftt-b5.ttf */
       "HuaTianKaiTi?",      /* htkt2.ttf */
       "HuaTianSongTi?",     /* htst3.ttf */
       "Ming(for ISO10646)", /* hkscsiic.ttf & iicore.ttf */