diff options
author | Jjgod Jiang <gzjjgod@gmail.com> | 2014-08-04 07:29:06 +0000 |
---|---|---|
committer | Jjgod Jiang <gzjjgod@gmail.com> | 2014-08-04 07:29:06 +0000 |
commit | e93685e85b3f0bff2eb571e79d77dccddd1cb2ed (patch) | |
tree | 67a4291f5b96c2222c138129a1d1148d7ef5a89d /Build/source/texk/dvipdfm-x/cff.h | |
parent | cee6575f0e755c4c15ff886a180e489545cb86ac (diff) |
Fix ToUnicode stream creation for non-subst glyphs
non-subst glyphs generated with Unicode -> CID CMap are now properly
handled by storing the correct GID used and match them with the CMAP
in the fonts.
subst glyphs (the ones when OpenType features have been applied) can
not be found because they are not directly accessible through CMAP.
git-svn-id: svn://tug.org/texlive/trunk@34830 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/cff.h')
-rw-r--r-- | Build/source/texk/dvipdfm-x/cff.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfm-x/cff.h b/Build/source/texk/dvipdfm-x/cff.h index 50d019df746..4339d02ab85 100644 --- a/Build/source/texk/dvipdfm-x/cff.h +++ b/Build/source/texk/dvipdfm-x/cff.h @@ -121,6 +121,7 @@ extern card16 cff_glyph_lookup (cff_font *cff, const char *glyph); extern char* cff_get_glyphname (cff_font *cff, card16 gid); /* Returns GID of glyph with SID/CID "cid" */ extern card16 cff_charsets_lookup (cff_font *cff, card16 cid); +extern card16 cff_charsets_lookup_gid (cff_charsets *charset, card16 cid); extern void cff_release_charsets (cff_charsets *charset); /* Returns SID or CID */ extern card16 cff_charsets_lookup_inverse (cff_font *cff, card16 gid); |