summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/dvipdfm-x/ChangeLog5
-rw-r--r--Build/source/texk/dvipdfm-x/sfnt.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog
index 22603862204..279e04fa8bb 100644
--- a/Build/source/texk/dvipdfm-x/ChangeLog
+++ b/Build/source/texk/dvipdfm-x/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-25 Jiang Jiang <gzjjgod@gmail.com>
+
+ * sfnt.c: Fix Mac TrueType font support.
+ bug found by Richard Koch <richardmoncriefkoch@icloud.com>.
+
2015-04-21 Peter Breitenlohner <peb@mppmu.mpg.de>
* dvi.c, tt_cmap.c: Fixed a dfont bug, from Akira,
diff --git a/Build/source/texk/dvipdfm-x/sfnt.c b/Build/source/texk/dvipdfm-x/sfnt.c
index 5ede43de387..fa338349aaa 100644
--- a/Build/source/texk/dvipdfm-x/sfnt.c
+++ b/Build/source/texk/dvipdfm-x/sfnt.c
@@ -64,7 +64,7 @@ sfnt_open (FILE *fp)
type = sfnt_get_ulong(sfont);
- if (type == SFNT_TRUETYPE) {
+ if (type == SFNT_TRUETYPE || type == SFNT_MAC_TRUE) {
sfont->type = SFNT_TYPE_TRUETYPE;
} else if (type == SFNT_OPENTYPE) {
sfont->type = SFNT_TYPE_OPENTYPE;