summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvipdfmx/src/tt_cmap.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-04-27 13:11:55 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-04-27 13:11:55 +0000
commit4cff2654a7dd5b9f1ca98699cc75d6c8b8c763a8 (patch)
tree8c522514a54dfa93a30d29a94cd2c667c38d078f /Build/source/texk/xdvipdfmx/src/tt_cmap.c
parentcf5698840040d0111b1ebba692bc58093a39d7eb (diff)
(x)dvipdfmx: Reduce differences between these two
git-svn-id: svn://tug.org/texlive/trunk@26149 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvipdfmx/src/tt_cmap.c')
-rw-r--r--Build/source/texk/xdvipdfmx/src/tt_cmap.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/Build/source/texk/xdvipdfmx/src/tt_cmap.c b/Build/source/texk/xdvipdfmx/src/tt_cmap.c
index 0a5890d583a..363f9fe65f1 100644
--- a/Build/source/texk/xdvipdfmx/src/tt_cmap.c
+++ b/Build/source/texk/xdvipdfmx/src/tt_cmap.c
@@ -1,8 +1,8 @@
-/* $Header: /home/cvsroot/dvipdfmx/src/tt_cmap.c,v 1.26 2008/05/08 18:51:59 chofchof Exp $
+/* $Header: /home/cvsroot/dvipdfmx/src/tt_cmap.c,v 1.27 2009/09/18 23:56:02 matthias Exp $
This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
- Copyright (C) 2002 by Jin-Hwan Cho and Shunsaku Hirata,
+ Copyright (C) 2007 by Jin-Hwan Cho and Shunsaku Hirata,
the dvipdfmx project team <dvipdfmx@project.ktug.or.kr>
This program is free software; you can redistribute it and/or modify
@@ -1685,9 +1685,10 @@ fprintf(stderr, "otf_load_Unicode_CMap(%s, %d)\n", map_name, ttc_index);
if (!fp) return -1;
sfont = dfont_open(fp, ttc_index);
} else {
- sfont = sfnt_open(fp, -1);
+ sfont = sfnt_open(fp);
}
#endif
+
if (!sfont) {
ERROR("Could not open OpenType/TrueType/dfont font file \"%s\"", map_name);
}