From f784a5653a0f5a962ee358492740718057f7fe0c Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Sun, 7 May 2017 00:45:05 +0200 Subject: [PATCH] [truetype] Add tricky font `DLCHayMedium' (from Dynalab). Reported by Roy Tam . * src/truetype/ttobjs.c (tt_check_trickyness_family): Implement it. --- ChangeLog | 8 ++++++++ src/truetype/ttobjs.c | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1dcd7f962..85d0953c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2017-05-07 Werner Lemberg + + [truetype] Add tricky font `DLCHayMedium' (from Dynalab). + + Reported by Roy Tam . + + * src/truetype/ttobjs.c (tt_check_trickyness_family): Implement it. + 2017-05-03 Werner Lemberg */*: s/backwards compatibility/backward compatibility/. diff --git a/src/truetype/ttobjs.c b/src/truetype/ttobjs.c index d20e3da07..8fa91962c 100644 --- 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 */