Use font name with spaces in pdf mapline in dvipdfmx

Hironobu Yamashita h.y.acetaminophen at gmail.com
Sat Nov 9 13:47:27 CET 2019


Hi,

Currently dvipdfmx cannot handle font file name with spaces.
You will have to create symlink; e.g.

$ sudo ln -s "/path/to/STHeiti Light.ttc"
/usr/local/texlive/texmf-local/fonts/truetype/myfonts/STHeiti-Light.ttc

Alternatively, our script cjk-gs-integrate can do the similar:
https://github.com/texjporg/cjk-gs-support

$ sudo perl cjk-gs-integrate-macos.pl --link-texmf

will create a symlink "STHeiti-Light.ttc" under TEXMFLOCAL.

Note: The script cjk-gs-integrate itself is installed in TeX Live:
    https://ctan.org/pkg/cjk-gs-integrate
however, the macOS-specific fonts are unsupported by itself.
You can install cjk-gs-integrate-macos from TLContrib:
    https://contrib.texlive.info/
But, the easiest way would be grabbing from GitHub above ;-)


Hironobu


More information about the tex-live mailing list