<div dir="ltr">út 6. 11. 2018 v 13:11 odesílatel Ulrike Fischer <<a href="mailto:news3@nililand.de">news3@nililand.de</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">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></blockquote><div><br></div><div>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></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
\documentclass{article}<br>
<br>
\begin{document}<br>
\font\test=["lmroman10-regular.otf"] \test abc<br>
\end{document}<br>
<br>
(setting SOURCE_DATE_EPOCH and FORCE_SOURCE_DATE doesn't change the<br>
output).<br>
<br>
-- <br>
Ulrike Fischer <br>
<a href="http://www.troubleshooting-tex.de/" rel="noreferrer" target="_blank">http://www.troubleshooting-tex.de/</a></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>