summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/tt_cmap.h
AgeCommit message (Collapse)Author
2021-02-25restore Build,TODO from r57911Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@57915 c570f23f-e606-0410-a88d-b1316a301751
2021-02-25French translation for tlmgr updatedDenis Bitouzé
git-svn-id: svn://tug.org/texlive/trunk@57912 c570f23f-e606-0410-a88d-b1316a301751
2020-08-07Use uint32_t for TTC index. (S. Hirata)Akira Kakuto
git-svn-id: svn://tug.org/texlive/trunk@56064 c570f23f-e606-0410-a88d-b1316a301751
2018-09-14Cleanup. Remove duplicated code. Reorganize global variables. (S. Hirata)Akira Kakuto
git-svn-id: svn://tug.org/texlive/trunk@48663 c570f23f-e606-0410-a88d-b1316a301751
2018-09-02Experimental support for XeTeX transparency font feature (S. Hirata).Akira Kakuto
git-svn-id: svn://tug.org/texlive/trunk@48542 c570f23f-e606-0410-a88d-b1316a301751
2018-08-16Fix a bug that CMapName in CMap resource is not properly written (S. Hirata).Akira Kakuto
git-svn-id: svn://tug.org/texlive/trunk@48418 c570f23f-e606-0410-a88d-b1316a301751
2016-01-06texk/dvipdfm-x: change copyright yearAkira Kakuto
git-svn-id: svn://tug.org/texlive/trunk@39296 c570f23f-e606-0410-a88d-b1316a301751
2015-08-25texk/dvipdfm-x: Replace '(unsigned) long' by '(unsigned) int' orPeter Breitenlohner
'(u)int32_t' except when needed with for ftell() and fseek() git-svn-id: svn://tug.org/texlive/trunk@38200 c570f23f-e606-0410-a88d-b1316a301751
2015-08-24texk/dvipdfm-x: No reason to use 'long' for 32-bit integersPeter Breitenlohner
git-svn-id: svn://tug.org/texlive/trunk@38194 c570f23f-e606-0410-a88d-b1316a301751
2014-08-09dvipdfm-x: Simplify ToUnicode handlingJjgod Jiang
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
2014-08-04Fix ToUnicode with reverse CMap lookupJjgod Jiang
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
2014-07-25Remove most of font related #ifdef XETEXKhaled Hosny
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
2014-03-17dvipdfmx version 20140317, update copyright yearsKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@33205 c570f23f-e606-0410-a88d-b1316a301751
2013-07-03Merging dvipdfmx and xdvipdfmx (continue)Peter Breitenlohner
git-svn-id: svn://tug.org/texlive/trunk@31083 c570f23f-e606-0410-a88d-b1316a301751