Red Hat Bugzilla – Bug 418091
dvipdfmx requires CMap files
Last modified: 2013-07-02 19:25:04 EDT
Description of problem:
To prepare Japanese PDF file using dvipdfmx, CMap files are required.
To fix the problem,
1. prepare /usr/share/texmf/fonts/map/dvipdfmx/cid-x.map (attached)
2. make symlink (or copy) CMap files from ghoscript dir to
/usr/share/texmf/fonts/cmap like the following:
ln -s /usr/share/ghostscript/`gs --version| cut -d . -f 1-2`/Resource/CMap/*
Reference implementation of dvipdfmx is available from
Created attachment 282781 [details]
I have a potentially cleaner fix. Could it be possible for you
to attach a document that may be processed by dvipdfmx only
if the cmap files are found?
No response, but I attach my patches anyway. One is for
texlive-texmf, I have verified that the ghostscript maps
really end in texmf.cnf with this patch, it also removes
the links, and the dependency of texlive-texmf-fonts on ghostscript.
The other patch is for texlive, it simply adds ghostscript as
a dependency for dvipdfmx. This one should certainly be installed
in any case.
Created attachment 296187 [details]
fix code that put ghostscript cmap in conf
Created attachment 296188 [details]
add ghostscript dependency for dvipdfmx
Your fix is now applied, thanks!