summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/dvipdfm-x/ChangeLog5
-rw-r--r--Build/source/texk/dvipdfm-x/cff_dict.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog
index 279e04fa8bb..edbfdbc02c1 100644
--- a/Build/source/texk/dvipdfm-x/ChangeLog
+++ b/Build/source/texk/dvipdfm-x/ChangeLog
@@ -1,5 +1,10 @@
2015-04-25 Jiang Jiang <gzjjgod@gmail.com>
+ * cff_dict.c: Be more permissive in CFF dict parsing, fix Yuppy SC
+ and Yuppy TC fonts support.
+
+2015-04-25 Jiang Jiang <gzjjgod@gmail.com>
+
* sfnt.c: Fix Mac TrueType font support.
bug found by Richard Koch <richardmoncriefkoch@icloud.com>.
diff --git a/Build/source/texk/dvipdfm-x/cff_dict.c b/Build/source/texk/dvipdfm-x/cff_dict.c
index d3543acf4db..8c30b7d13ab 100644
--- a/Build/source/texk/dvipdfm-x/cff_dict.c
+++ b/Build/source/texk/dvipdfm-x/cff_dict.c
@@ -301,7 +301,8 @@ static void add_dict (cff_dict *dict,
argtype = dict_operator[id].argtype;
if (dict_operator[id].opname == NULL || argtype < 0) {
- *status = CFF_ERROR_PARSE_ERROR;
+ /* YuppySC-Regular.otf from OS X for instance uses op id 37, simply ignore
+ this dict instead of treat it as parsing error. */
return;
}