Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deal with tlgs.win32 pre-shipped cidmap.TeXLive #25

Open
aminophen opened this issue Jun 21, 2017 · 3 comments
Open

Deal with tlgs.win32 pre-shipped cidmap.TeXLive #25

aminophen opened this issue Jun 21, 2017 · 3 comments

Comments

@aminophen
Copy link
Member

aminophen commented Jun 21, 2017

This is my (HY's) TODO list:

In tlgs.win32, cidfmap contains a line

(cidfmap.TeXLive) .runlibfile

and, in the pre-shipped cidfmap.TeXLive lie the following entries

% Aliases for Windows XP and later versions
% =========================================

/AdobeHeitiStd-Regular  /SimHei ;
/AdobeSongStd-Light     /SimSun ;
/AdobeMingStd-Light     /MingLiU ;
/KozMinPr6N-Regular     /MS-Mincho ;
/AdobeMyungjoStd-Medium /Batang ;

These aliased fonts might be actually available as real CID (.otf) fonts. However, in the current setting, the real fonts are not used because the CID fonts are overridden by the above aliases. To avoid this problem, these entries should be disabled when the corresponding real fonts are found.

I believe that it is safe and better enough to remove the line (cidfmap.TeXLive) .runlibfile when our (= cjk-gs-integrate) settings are effective.

But first, we have to ensure that all features supported by cidfmap.TeXLive are also available with our cidfmap.local. Below is the list of lines which are currently unavailable in ours:

Font database

/ArialUnicodeMS-KR <<
  /FileType /TrueType
  /SubfontID 0
  /CSI [(Korea1) 3]
  /Path (ARIALUNI.TTF) >> ; % W7
/ArialUnicodeMS-CNS <<
  /FileType /TrueType
  /SubfontID 0
  /CSI [(CNS1) 2]
  /Path (ARIALUNI.TTF) >> ; % W7
/ArialUnicodeMS-JP <<
  /FileType /TrueType
  /SubfontID 0
  /CSI [(Japan1) 3]
  /Path (ARIALUNI.TTF) >> ; % W7
/ArialUnicodeMS-GB <<
  /FileType /TrueType
  /SubfontID 0
  /CSI [(GB1) 2]
  /Path (ARIALUNI.TTF) >> ; % W7

Aliases

/HeiseiKakuGo-W5        /MS-Gothic ;
/HeiseiMin-W3           /MS-Mincho ;

I don't know what HeiseiKakuGo-W5 and HeiseiMin-W3 are and where they are used. (native CID fonts in ancient days, which are not available in .otf format?)

@aminophen
Copy link
Member Author

One more question: What should we do when the following command is executed? Should we restore cidfmap.TeXLive in the master cidfmap?

$ cjk-gs-integrate                         % set up all
$ cjk-gs-integrate --remove --only-aliases % removes only aliases

@aminophen
Copy link
Member Author

Mostly done (5458fba). The behavior is natural enough, even when --only-aliases is used.

Remainings: font database for ArialUnicodeMS-*, aliases for HeiseiKakuGo-W5/HeiseiMin-W3.

@aminophen
Copy link
Member Author

aliases for HeiseiKakuGo-W5/HeiseiMin-W3.

Done (b1b0d5f).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant