<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Am 30.01.2009 um 17:38 schrieb Pander:</div><br><blockquote type="cite"><div>Pander wrote:<br><blockquote type="cite"><span class="Apple-style-span" style="-webkit-text-stroke-width: -1; ">I have found two fontnames that result in an error with XeLaTeX on an</span></blockquote><blockquote type="cite">Ubuntu system. These are:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">\fontspec{API PHONÉTIQUE}<br></blockquote>/usr/share/fonts/truetype/ttf-linex/apiregul.ttf of the ttf-linex package<br>\documentclass{article}<br>\usepackage{fontspec}<br>\begin{document}<br>\fontspec{API PHONÉTIQUE}Blah<br>\end{document}<br>kpathsea: Illegal fontname `API PHONÉTIQUE': contains ' '<br>! Font \zf@basefont="API PHONÉTIQUE" at 10.0pt not loadable: Metric<br>(TFM) file<br> or installed font not found.<br></div></blockquote><div><br></div><div>In many cases XeTeX prefers the so-called Postscript name. You can find out about that with running otfinfo on the font, like that:</div><div><br></div><div><div>hermeneut:~ joachim$ otfinfo -i Downloads/ttf-linex-2.2.orig/apiregul.ttf </div><div>Family: API PHON…TIQUE</div><div>Subfamily: Regular</div><div>Full name: API PHON…TIQUE</div><div>PostScript name: APIPHONTIQUE</div><div>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</div><div>Preferred family: API PHON…TIQUE</div><div>Preferred subfamily: Regular</div><div>Mac font menu name: API PHON…TIQUE</div><div>Version: Version 1.0; 2003; initial release</div><div>Unique ID: Juan JosÈ Marcos. API PHON…TIQUE: 2003</div></div><div>[etc., shortened here]</div><div><br></div>But unfortunately, XeTeX has problems with this font anyway, changing the fontname in your example produces another error message:</div><div><br></div><div><div>** ERROR ** Cannot proceed without the "native" font: APIPHONTIQUE (API PHON…TIQUE Regular)...</div><div>Output file removed.</div></div><div><br></div><div>So I think this font is broken in some way.</div><div><br></div><div><blockquote type="cite"><div><blockquote type="cite">and<br></blockquote><blockquote type="cite"><span class="Apple-style-span" style="-webkit-text-stroke-width: -1; ">\fontspec{cmr10}</span></blockquote>/usr/share/fonts/truetype/latex-xft-fonts/cmr10.ttf of package<br>latex-xft-fonts<br></div></blockquote></div><div><br></div><div>Use the Latin Modern fonts, which come in OTF format too.</div><div><br></div><div>Joachim</div><div><br></div><div> <div><div>-- </div><div>Dr. Joachim Trinkwitz E-Mail: <a href="mailto:jtr@uni-bonn.de">jtr@uni-bonn.de</a></div><div>Institut für Germanistik, Tel.: 0228-737565</div><div>Vergleichende Literatur- Fax: 0228-737479</div><div>und Kulturwissenschaft <a href="http://www.germanistik.uni-bonn.de">www.germanistik.uni-bonn.de</a></div><div>der Universität Bonn 53012 Bonn</div><br></div> </div><br></body></html>