<div dir="ltr">út 6. 11. 2018 v 15:01 odesílatel David Carlisle <<a href="mailto:d.p.carlisle@gmail.com">d.p.carlisle@gmail.com</a>> napsal:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, 6 Nov 2018 at 13:38, Zdenek Wagner <<a href="mailto:zdenek.wagner@gmail.com" target="_blank">zdenek.wagner@gmail.com</a>> wrote:<br>
><br>
> út 6. 11. 2018 v 13:11 odesílatel Ulrike Fischer <<a href="mailto:news3@nililand.de" target="_blank">news3@nililand.de</a>> napsal:<br>
>><br>
>> If I compile the following with xelatex --no-pdf and xdvidfpmx -z0 I<br>
>> get an absolute path in the pdf:<br>
>><br>
>> /CMapName<br>
>> /d:-texlive-2018-texmf-dist-fonts-opentype-public-lm-lmroman10-regular.otf,000-UTF16<br>
>> def<br>
>><br>
>> Is there a way to avoid this? It makes reproducible pdf testing with<br>
>> xelatex impossible.<br>
><br>
><br>
> It was introduced several years ago. The problem was that the search algorithm in XeTeX differed from the search algorithm of xdvipdfmx. Fonts may exist in several versions and may be incompatible, it was especially the case of FreeFont but other fonts are affected as well. It happened that several versions of the same font existed on the computer, XeTeX picked one, created xdv and xdvipdfmx built the PDF using another version and the result was garbage. The preference rules in all font systems are not only complex but quite often not obeyed. The absolute path ensures that XeTeX and xdvipdfmx use the same font so if you get garbage, you know why. I do not know whether there is a better way how to solve the problem.<br>
<br>
<br>
On the face of it that seems a good argument for xetex to put the<br>
absolute path in the xdv file so xdvipdfmx uses the same font, but<br>
does that necessarily imply that  xdvipdfmx lists the full path in the<br>
resulting pdf output? If it could at least optionally not do that then<br>
testing of pdf would be easier to set up with reproducible build<br>
settings<br></blockquote><div><br></div><div>No, PDF contains the font as embedded subset, not its path. The path makes no sense for PDF viewers. <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
David<br></blockquote><div><br></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature">Zdeněk Wagner<br><a href="http://ttsm.icpf.cas.cz/team/wagner.shtml" target="_blank">http://ttsm.icpf.cas.cz/team/wagner.shtml</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a></div></div><br><br> </div></div></div>