[XeTeX] Font names that result in errors

Rembrandt Wolpert wolpert at uark.edu
Fri Feb 6 17:17:22 CET 2009


Just a curious question: why do you want to use a font that is "a bit
broken"? Who else would/should use a "broken font"?

Rembrandt


On Fri, Feb 6, 2009 at 9:00 AM, Pander <pander at users.sourceforge.net> wrote:

> Thanks all for the help.
>
> I have confirmed that both 'API  PHONÉTIQUE' and 'IPA  PHONETICS' are
> not working with XeTeX. First of all because the double space is reduced
> to a signle space when searching the font. This is a bug in XeTeX, I
> think and should be fixed. What is you opinion about this?
>
> That the fonts themselves are a bit broken and should not be used is a
> second issue, but is outside of XeTeX, see
> https://launchpad.net/ubuntu/+source/ttf-linex when some one would like
> to report a fix. I couldn't get them working with the PostScript.
>
> Regards,
>
> Pander
>
>
> Joachim Trinkwitz wrote:
> > Am 30.01.2009 um 17:38 schrieb Pander:
> >
> >> Pander wrote:
> >>> I have found two fontnames that result in an error with XeLaTeX on an
> >>> Ubuntu system. These are:
> >>>
> >>> \fontspec{API PHONÉTIQUE}
> >> /usr/share/fonts/truetype/ttf-linex/apiregul.ttf of the ttf-linex
> package
> >> \documentclass{article}
> >> \usepackage{fontspec}
> >> \begin{document}
> >> \fontspec{API PHONÉTIQUE}Blah
> >> \end{document}
> >> kpathsea: Illegal fontname `API PHONÉTIQUE': contains ' '
> >> ! Font \zf at basefont="API PHONÉTIQUE" at 10.0pt not loadable: Metric
> >> (TFM) file
> >> or installed font not found.
> >
> > In many cases XeTeX prefers the so-called Postscript name. You can find
> > out about that with running otfinfo on the font, like that:
> >
> > hermeneut:~ joachim$ otfinfo -i Downloads/ttf-linex-2.2.orig/apiregul.ttf
> > Family:              API  PHON…TIQUE
> > Subfamily:           Regular
> > Full name:           API  PHON…TIQUE
> > PostScript name:     APIPHONTIQUE
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > Preferred family:    API  PHON…TIQUE
> > Preferred subfamily: Regular
> > Mac font menu name:  API  PHON…TIQUE
> > Version:             Version 1.0; 2003; initial release
> > Unique ID:           Juan JosÈ Marcos. API  PHON…TIQUE: 2003
> > [etc., shortened here]
> >
> > But unfortunately, XeTeX has problems with this font anyway, changing
> > the fontname in your example produces another error message:
> >
> > ** ERROR ** Cannot proceed without the "native" font: APIPHONTIQUE (API
> >  PHON…TIQUE Regular)...
> > Output file removed.
> >
> > So I think this font is broken in some way.
> >
> >>> and
> >>> \fontspec{cmr10}
> >> /usr/share/fonts/truetype/latex-xft-fonts/cmr10.ttf of package
> >> latex-xft-fonts
> >
> > Use the Latin Modern fonts, which come in OTF format too.
> >
> > Joachim
> >
> > --
> > Dr. Joachim Trinkwitz     E-Mail: jtr at uni-bonn.de <mailto:
> jtr at uni-bonn.de>
> > Institut für Germanistik, Tel.: 0228-737565
> > Vergleichende Literatur-  Fax: 0228-737479
> > und Kulturwissenschaft    www.germanistik.uni-bonn.de
> > <http://www.germanistik.uni-bonn.de>
> > der Universität Bonn      53012 Bonn
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > XeTeX mailing list
> > postmaster at tug.org
> > http://tug.org/mailman/listinfo/xetex
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>



-- 
人有不為也而後可有為
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20090206/566a2d1d/attachment.html 


More information about the XeTeX mailing list