dvipdfmx:warning: Invalid CMap

jfbu jfbu at free.fr
Sun Mar 31 23:59:41 CEST 2019


Hi Shunsaku,

Thanks for this quick analysis and upcoming fix,

Best,

Jean-François
Le 31 mars 2019 à 16:13, Shunsaku Hirata <shunsaku.hirata74 at gmail.com> a écrit :

> Hi Jean-François,
> 
> I identified the cause of this problem.
> There should be no problem in output PDF but dvipdfmx wrongly issues
> a warning.
> 
> Problem description:
> Dvipdfmx is unnecessarily trying to create an empty ToUnicode CMap,
> and as a result, it wrongly issues a warning.
> 
> It will be fixed soon.
> 
> Thanks,
> Shunsaku Hirata
> 
> 2019年3月31日(日) 16:38 jfbu <jfbu at free.fr>:
>> 
>> Hi,
>> 
>> after some giant and dichotomy I reduced to the following MWE
>> 
>> \documentclass{article}
>> \usepackage{newtxmath}
>> 
>> \begin{document}
>> 
>> $\varepsilon$
>> 
>> % triggered by \eTeX from scrdoc class
>> 
>> \end{document}
>> 
>> 
>> In my context I was using \eTeX macro, I had forgotten it
>> actually came with scrdoc class but anyway the important
>> thing is that it does $\varepsilon$ and newtxmath
>> package was loaded.
>> 
>> I am not using xetex, only latex temp.tex and then:
>> 
>> $ dvipdfmx -vv temp.dvi
>> <FONTMAP:/usr/local/texlive/2019/texmf-var/fonts/map/pdftex/updmap/pdftex.map><FONTMAP:/usr/local/texlive/2019/texmf-var/fonts/map/dvipdfmx/updmap/kanjix.map><FONTMAP:/usr/local/texlive/2019/texmf-dist/fonts/map/dvipdfmx/ckx.map>temp.dvi -> temp.pdf
>> DVI Comment:  TeX output 2019.03.31:0933
>> <AGL:texglyphlist.txt><AGL:pdfglyphlist.txt><AGL:glyphlist.txt>[1<ntxmi at 9.96pt(TFM:ntxmi[/usr/local/texlive/2019/texmf-dist/fonts/tfm/public/newtx/ntxmi.tfm])(VF:/usr/local/texlive/2019/texmf-dist/fonts/vf/public/newtx/ntxmi.vf(TFM:txmi[/usr/local/texlive/2019/texmf-dist/fonts/tfm/public/txfonts/txmi.tfm])<txmi at 9.96pt(VF:/usr/local/texlive/2019/texmf-dist/fonts/vf/public/txfonts/txmi.vf(TFM:rtxmi[/usr/local/texlive/2019/texmf-dist/fonts/tfm/public/txfonts/rtxmi.tfm])<rtxmi at 9.96pt
>> fontmap: rtxmi -> rtxmi.pfb
>> 
>> pdf_font>> Simple font "rtxmi.pfb" enc_id=<builtin,-1> opened at font_id=<rtxmi,0>.
>>> (TFM:rtxptmri[/usr/local/texlive/2019/texmf-dist/fonts/tfm/public/txfonts/rtxptmri.tfm])<rtxptmri at 9.96pt
>> fontmap: rtxptmri -> utmri8a.pfb(8r.enc)
>> (Encoding:8r.enc[TeXBase1Encoding])
>> pdf_font>> Simple font "utmri8a.pfb" enc_id=<8r.enc,3> opened at font_id=<rtxptmri,1>.
>>> )(VF)>(TFM:rntxmi[/usr/local/texlive/2019/texmf-dist/fonts/tfm/public/newtx/rntxmi.tfm])<rntxmi at 9.96pt
>> fontmap: rntxmi -> rntxmi.pfb
>> 
>> pdf_font>> Simple font "rntxmi.pfb" enc_id=<builtin,-1> opened at font_id=<rntxmi,2>.
>>> )(VF)><cmr10 at 9.96pt(TFM:cmr10[/usr/local/texlive/2019/texmf-dist/fonts/tfm/public/cm/cmr10.tfm])
>> fontmap: cmr10 -> cmr10.pfb
>> 
>> pdf_font>> Simple font "cmr10.pfb" enc_id=<builtin,-1> opened at font_id=<cmr10,3>.
>>> ](rtxmi.pfb[rtxmi][built-in][Type1][2 glyphs][320 bytes])(utmri8a.pfb[NimbusRomNo9L-ReguItal][TeXBase1Encoding][Type1])(rntxmi.pfb[rntxmi][built-in][Type1])(cmr10.pfb[CMR10][built-in][Type1][2 glyphs][348 bytes])
>> dvipdfmx:warning: Invalid CMap
>> 
>> Compression saved 595 bytes
>> 2534 bytes written
>> 
>> Best,
>> 
>> Jean-François
>> 
>> Le 31 mars 2019 à 04:52, Shunsaku Hirata <shunsaku.hirata74 at gmail.com> a écrit :
>> 
>>> Hi Jean-François,
>>> 
>>> Is it possible to provide console output of dvipdfmx invoked
>>> with the "-vv" option supplied?
>>> Also, the following information would be helpful:
>>> - processing XeTeX output?
>>> - font used in your document.
>>> 
>>> Thanks,
>>> Shunsaku Hirata
>>> 
>>> 2019年3月31日(日) 6:53 jfbu <jfbu at free.fr>:
>>>> 
>>>> Hi,
>>>> 
>>>> The same project build with TeXLive 2019 issues
>>>> 
>>>> dvipdfmx:warning: Invalid CMap
>>>> 
>>>> but not with TeXLive 2018.
>>>> 
>>>> Where should I go look for source of problem (if any)?
>>>> 
>>>> Best,
>>>> 
>>>> Jean-François
>>>> 
>>>> 
>> 




More information about the tex-live mailing list