diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2014-07-27 23:04:49 +0000 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2014-07-27 23:04:49 +0000 |
commit | 5795568a60dba76e57cdb78fda5aab4e6e135991 (patch) | |
tree | 0a2586ae809d714303ed3a6b76b623765af408bd /Build/source/texk/dvipdfm-x/cid.c | |
parent | 378fc061ff4879abb4983d8e48f593f1b4b779d9 (diff) |
Fix CID-keyed fonts glyph lookup
Keep cff_charsets parsed from CID font around if exists. Use the
cff_charsets to do GID -> CID lookup.
git-svn-id: svn://tug.org/texlive/trunk@34743 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/cid.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/cid.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfm-x/cid.c b/Build/source/texk/dvipdfm-x/cid.c index 4d80097df1e..b82a3b713ae 100644 --- a/Build/source/texk/dvipdfm-x/cid.c +++ b/Build/source/texk/dvipdfm-x/cid.c @@ -569,6 +569,7 @@ CIDFont_cache_find (const char *map_name, opt->name = NULL; opt->csi = get_cidsysinfo(map_name, fmap_opt); opt->stemv = fmap_opt->stemv; + opt->cff_charsets = NULL; if (!opt->csi && cmap_csi) { /* @@ -648,6 +649,8 @@ CIDFont_cache_find (const char *map_name, font->options = opt; __cache->fonts[font_id] = font; (__cache->num)++; + + fmap_opt->cff_charsets = opt->cff_charsets; } } else if (opt) { release_opt(opt); |