Age | Commit message (Collapse) | Author |
|
git-svn-id: svn://tug.org/texlive/trunk@36978 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@34886 c570f23f-e606-0410-a88d-b1316a301751
|
|
Remove used_glyphs and its supporting code for ToUnicode handling,
because for CID fonts, glyph id can be looked up from cid which is
stored in used_chars already, it simplified a lot of code and reduced
memory usage.
Continue dedup create_ToUnicode_cmap{4,12}() with
add_to_cmap_if_used().
git-svn-id: svn://tug.org/texlive/trunk@34885 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@34848 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@34837 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@34836 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@34834 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@34832 c570f23f-e606-0410-a88d-b1316a301751
|
|
When dvipdfmx is provided a regular CMap in the following format:
<unicode codepoint> cid
We can try to utilize the data and do a reverse lookup when all we
know is the cids used.
Initially, when parsing the cmap specified, we build a reverseMap
which maps CID to the first Unicode codepoint it corresponds to.
(Which is pretty much the reverse of CMap_decode().)
Since this cmap is already parsed when we create the fontmap cache,
we can just pass the cmap_id all the way down to
otf_create_ToUnicode_stream() and get CMap* back from this cmap_id.
Second, we refactor create_ToUnicode_cmap{4, 12}() functions into
one create_ToUnicode_cmap() and combine the common code.
In the third step, in create_ToUnicode_cmap() we try to see if the
font is indeed a CFF font (with CID-keyed), and we do have a cmap,
we can use the newly added CMap_reverse_decode() to convert all
used cids back to Unicode codepoints. With that mapping information
we can successfully create the ToUnicode PDF stream we needed.
git-svn-id: svn://tug.org/texlive/trunk@34831 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@34805 c570f23f-e606-0410-a88d-b1316a301751
|
|
author, S. Hirata)
git-svn-id: svn://tug.org/texlive/trunk@34797 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@34759 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@34757 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@34756 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@34755 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@34744 c570f23f-e606-0410-a88d-b1316a301751
|
|
Almost all of this is not needed now since XeTeX’s native fonts are
always passed by file name and face index now, so we can use original
dvipdfmx direct file based code instead of using a FreeType font face.
Has the side effect of fixing:
https://sourceforge.net/p/xetex/bugs/97/
git-svn-id: svn://tug.org/texlive/trunk@34718 c570f23f-e606-0410-a88d-b1316a301751
|
|
This reverts commit bf7b0213f14c179b2df004cf6ee134a4b8ae4f99.
git-svn-id: svn://tug.org/texlive/trunk@34717 c570f23f-e606-0410-a88d-b1316a301751
|
|
This reverts commit ad3c9243dfdb9c12ecde97f7846bcd23fe5a5878.
git-svn-id: svn://tug.org/texlive/trunk@34716 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@34711 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@34700 c570f23f-e606-0410-a88d-b1316a301751
|
|
entries in font cmap
A slightly modified version of a patch from Alexey Kryukov.
git-svn-id: svn://tug.org/texlive/trunk@33767 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@33205 c570f23f-e606-0410-a88d-b1316a301751
|
|
git-svn-id: svn://tug.org/texlive/trunk@31302 c570f23f-e606-0410-a88d-b1316a301751
|