summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/tt_cmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipdfm-x/tt_cmap.c')
-rw-r--r--Build/source/texk/dvipdfm-x/tt_cmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdfm-x/tt_cmap.c b/Build/source/texk/dvipdfm-x/tt_cmap.c
index 0e64521d33e..23c767dbd79 100644
--- a/Build/source/texk/dvipdfm-x/tt_cmap.c
+++ b/Build/source/texk/dvipdfm-x/tt_cmap.c
@@ -817,8 +817,8 @@ handle_CIDFont (sfnt *sfont,
count = ranges[i].n_left + 1;
while (count-- > 0 &&
gid <= num_glyphs) {
- map[gid] = (cid >> 8) & 0xff;
- map[gid] = cid & 0xff;
+ map[2*gid] = (cid >> 8) & 0xff;
+ map[2*gid+1] = cid & 0xff;
gid++; cid++;
}
}