summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/tt_cmap.c
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-10-13Fix a bug accessing wrong array indices. (S. Hirata)Akira Kakuto
git-svn-id: svn://tug.org/texlive/trunk@56648 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
2020-07-30More fix to the previous fix for tt_cmap.c. Fix for a possible problem in ↵Akira Kakuto
cid.c. (S. Hirara) git-svn-id: svn://tug.org/texlive/trunk@55999 c570f23f-e606-0410-a88d-b1316a301751
2020-07-28Add missing reset_xgstate. Fix CMap wmode setting. (S. Hirata)Akira Kakuto
git-svn-id: svn://tug.org/texlive/trunk@55980 c570f23f-e606-0410-a88d-b1316a301751
2020-06-21Lower priority of Soft-hyphen when generating ToUnicode. Show anAkira Kakuto
error when "CFF " table could not be found for a PS OpenType font. (S. Hirata) git-svn-id: svn://tug.org/texlive/trunk@55615 c570f23f-e606-0410-a88d-b1316a301751
2019-05-06Fix a bug that CFF charset data was not read. (S. Hirata)Akira Kakuto
git-svn-id: svn://tug.org/texlive/trunk@51027 c570f23f-e606-0410-a88d-b1316a301751
2019-05-02Support ASCIIHex and ASCII85 Decode filters. Revise ToUnicode CMap creation ↵Akira Kakuto
for OpenType. (S. Hirata) git-svn-id: svn://tug.org/texlive/trunk@50943 c570f23f-e606-0410-a88d-b1316a301751
2019-02-25dvipdfm-x: tounicode for double encoded glyphs (jp-forum:2575)Hironobu Yamashita
git-svn-id: svn://tug.org/texlive/trunk@50124 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
2018-05-06recover to give tounicode entries for ligaturesAkira Kakuto
git-svn-id: svn://tug.org/texlive/trunk@47625 c570f23f-e606-0410-a88d-b1316a301751
2017-12-09dvipdfm-x/tt_cmap.c: import ToUnicode fix by jjgodHironobu Yamashita
git-svn-id: svn://tug.org/texlive/trunk@46025 c570f23f-e606-0410-a88d-b1316a301751
2017-06-25dvipdfm-x: Fix bugs on CMap and ToUnicode (from S. Hirata)Akira Kakuto
git-svn-id: svn://tug.org/texlive/trunk@44691 c570f23f-e606-0410-a88d-b1316a301751
2017-06-25dvipdfm-x: Fixed a bug in CMaps (from S. Hirata)Akira Kakuto
git-svn-id: svn://tug.org/texlive/trunk@44689 c570f23f-e606-0410-a88d-b1316a301751
2017-04-16dvipdfm-x: Bug fix by the author, S. HirataAkira Kakuto
git-svn-id: svn://tug.org/texlive/trunk@43841 c570f23f-e606-0410-a88d-b1316a301751
2017-04-16dvipdfm-x: Change copyright yearAkira Kakuto
git-svn-id: svn://tug.org/texlive/trunk@43836 c570f23f-e606-0410-a88d-b1316a301751
2017-04-15dvipdfm-x: Final patch for TL 2017 by the author, S. HirataAkira Kakuto
git-svn-id: svn://tug.org/texlive/trunk@43807 c570f23f-e606-0410-a88d-b1316a301751
2017-04-09dvipdfm-x: Fix a bug in vertical writing (from the author, S. Hirata)Akira Kakuto
git-svn-id: svn://tug.org/texlive/trunk@43721 c570f23f-e606-0410-a88d-b1316a301751
2016-12-18dvipdfm-x: recover the original type0.c and tt_cmap.c for [x]dvipdfmxAkira Kakuto
git-svn-id: svn://tug.org/texlive/trunk@42744 c570f23f-e606-0410-a88d-b1316a301751
2016-12-18dvipdfm-x: Merge libdpx by Clerk Ma at https://github.com/clerkma/ptex-ngAkira Kakuto
git-svn-id: svn://tug.org/texlive/trunk@42741 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-12-26texk/dvipdfm-x: png, and unocode patch from S. Hirata.Akira Kakuto
git-svn-id: svn://tug.org/texlive/trunk@39201 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
2015-08-21texk/dvipdfm-x: Drop 'CDECL' and use 'static inline'Peter Breitenlohner
git-svn-id: svn://tug.org/texlive/trunk@38171 c570f23f-e606-0410-a88d-b1316a301751
2015-04-21texk/dvipdfm-x: Fixed a dfont bug, from AkiraPeter Breitenlohner
git-svn-id: svn://tug.org/texlive/trunk@36978 c570f23f-e606-0410-a88d-b1316a301751
2014-08-09dvipdfm-x: Fix warnings handling subst glyphsJjgod Jiang
git-svn-id: svn://tug.org/texlive/trunk@34886 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-05Fix xdvipdfmx ToUnicode regression caused by r34831Jjgod Jiang
git-svn-id: svn://tug.org/texlive/trunk@34848 c570f23f-e606-0410-a88d-b1316a301751
2014-08-04Fix some warnings and remove unused codeJjgod Jiang
git-svn-id: svn://tug.org/texlive/trunk@34837 c570f23f-e606-0410-a88d-b1316a301751
2014-08-04Fix crash and infinity look caused by r34831Jjgod Jiang
git-svn-id: svn://tug.org/texlive/trunk@34836 c570f23f-e606-0410-a88d-b1316a301751
2014-08-04texk/dvipdfm-x: Drop unused variablesPeter Breitenlohner
git-svn-id: svn://tug.org/texlive/trunk@34834 c570f23f-e606-0410-a88d-b1316a301751
2014-08-04Only do CFF glyph name lookup for non-CID fontsJjgod Jiang
git-svn-id: svn://tug.org/texlive/trunk@34832 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-08-03Better fix for r34757Jjgod Jiang
git-svn-id: svn://tug.org/texlive/trunk@34805 c570f23f-e606-0410-a88d-b1316a301751
2014-08-02Fix a bug in unicode encoding in CFF/OpenType fonts (from the original ↵Akira Kakuto
author, S. Hirata) git-svn-id: svn://tug.org/texlive/trunk@34797 c570f23f-e606-0410-a88d-b1316a301751
2014-07-28Fix a compiler warning with unsigned comparisonJjgod Jiang
git-svn-id: svn://tug.org/texlive/trunk@34759 c570f23f-e606-0410-a88d-b1316a301751
2014-07-28Support getting glyph names from OpenType/CFF fontsKhaled Hosny
git-svn-id: svn://tug.org/texlive/trunk@34757 c570f23f-e606-0410-a88d-b1316a301751
2014-07-28Split that bit of code to a separate functionKhaled Hosny
git-svn-id: svn://tug.org/texlive/trunk@34756 c570f23f-e606-0410-a88d-b1316a301751
2014-07-28Don't try to added invalid CMap entriesKhaled Hosny
git-svn-id: svn://tug.org/texlive/trunk@34755 c570f23f-e606-0410-a88d-b1316a301751
2014-07-27Fix reverse CMap lookup for ToUnicode map generationKhaled Hosny
git-svn-id: svn://tug.org/texlive/trunk@34744 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-07-25Revert "Support CID-keyed OpenType fonts in xdvipdfmx (from Jiang Jiang)"Khaled Hosny
This reverts commit bf7b0213f14c179b2df004cf6ee134a4b8ae4f99. git-svn-id: svn://tug.org/texlive/trunk@34717 c570f23f-e606-0410-a88d-b1316a301751
2014-07-25Revert "texk/dvipdfm-x: Support CID-keyed OpenType: Avoid compiler warnings"Khaled Hosny
This reverts commit ad3c9243dfdb9c12ecde97f7846bcd23fe5a5878. git-svn-id: svn://tug.org/texlive/trunk@34716 c570f23f-e606-0410-a88d-b1316a301751
2014-07-24texk/dvipdfm-x: Support CID-keyed OpenType: Avoid compiler warningsPeter Breitenlohner
git-svn-id: svn://tug.org/texlive/trunk@34711 c570f23f-e606-0410-a88d-b1316a301751
2014-07-23Support CID-keyed OpenType fonts in xdvipdfmx (from Jiang Jiang)Akira Kakuto
git-svn-id: svn://tug.org/texlive/trunk@34700 c570f23f-e606-0410-a88d-b1316a301751
2014-04-30prefere glyph name for glyph with PUA or alphabetic presentation forms ↵Khaled Hosny
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