summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/cff.c
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2014-07-25 13:56:32 +0000
committerKhaled Hosny <khaledhosny@eglug.org>2014-07-25 13:56:32 +0000
commit31053cc388d6f0b348b297a3a0b950e8d707916a (patch)
treeae93721619df1a0a9c1b422e7d702d46c5aa7f1d /Build/source/texk/dvipdfm-x/cff.c
parentc953c51fc011990ac2c82ef8b88f7acf33781d2d (diff)
Revert "Support CID-keyed OpenType fonts in xdvipdfmx (from Jiang Jiang)"
This reverts commit bf7b0213f14c179b2df004cf6ee134a4b8ae4f99. git-svn-id: svn://tug.org/texlive/trunk@34717 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/cff.c')
-rw-r--r--Build/source/texk/dvipdfm-x/cff.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/Build/source/texk/dvipdfm-x/cff.c b/Build/source/texk/dvipdfm-x/cff.c
index 40ff4648ce7..7a54e3fecfd 100644
--- a/Build/source/texk/dvipdfm-x/cff.c
+++ b/Build/source/texk/dvipdfm-x/cff.c
@@ -326,13 +326,9 @@ cff_get_index_header (cff_font *cff)
ERROR("invalid offsize data");
idx->offset = NEW(count+1, l_offset);
- for (i=0;i<count;i++) {
+ for (i=0;i<count+1;i++) {
(idx->offset)[i] = get_offset(cff->SFONT_OR_STREAM, idx->offsize);
}
- if (count == 0xFFFF)
- cff_seek(cff, cff_tell(cff) + idx->offsize);
- else
- (idx->offset)[i] = get_offset(cff->SFONT_OR_STREAM, idx->offsize);
if (idx->offset[0] != 1)
ERROR("cff_get_index(): invalid index data");