Hi Yoshihito On 5 March 2010 18:12, YOSHINO Yoshihito <yy.y.ja...@gmail.com> wrote: > Hello, > > On Wed, Mar 3, 2010 at 10:26 AM, Norbert Preining <prein...@logic.at> wrote: >> >> We should find a good solution for that. The problem is that dvipdfmx >> is now the default program and is even used as dvipdfm, so we don't >> want that warning message show up permanently. >> >> For example, *every* *EVERY* xetex run would produce that warning >> message, so that is definitely NOT the way to go, sorry. > > OK, I attach another patch in place of the warning-full patch to add > some mappings to "cid-x.map" necessary for jis fonts (rml-jis and > gbm-jis) which are copied from "jis-cjk.map" file in ptex-jisfonts. > This patch works around for ptex-jisfonts users, and other people will > not receive any warning message. I don't know other Chinese/Korean > people need their extra mappings, but, if so, the mappings can be added > like this patch.
I am not entirely convinced that this patch needs to be added to the TeXlive Debian package; I would rather put it in the pTeX JIS font package, since that package provides the rml and gbm fonts. I would add the following lines in ptex-jisfonts/rules: dh_install cid-x.map /usr/share/texmf/fonts/map/dvips/arphic/ dh_installtex --flavor=map:config_for_all_maps map=Map,cid-x.map The problem now is that dh_installtex also creates faulty lines in pdftex.map. If we can fix either cid-x.map or dh_installtex to have no entries in pdftex.map, then I think we're okay. Attached you will find the test.pdf file that I created from your test.dvi. I have problems reading it with "evince" because of CID, but I hope that the resulting PDF is what you expect. > One caveat of this patch is that it does not handle > well with mapping the same font to another font, that is, mapping > "rml-jis" to other than "Ryumin-Light". This patch will work except in > such a situation (which I think "fontmapsx" takes into account.) I wouldn't worry too much about that. I think "ucf" will come into action if you modify the files in the updmap.d/ directory in /etc, provided that ptex-jisfonts uses dh_installtex in its debian/rules file. Best regards -- Danai
test.pdf
Description: Adobe PDF document