[XeTeX] How to specify Fontin Sans (has underscore in file names) with Fontspec?
Philip Taylor (Webmaster, Ret'd)
P.Taylor at Rhul.Ac.Uk
Wed Aug 18 20:55:53 CEST 2010
Joel C. Salomon wrote:
> Trouble with that is that
> the file names have underscores, and the naïve invocation
> \setsansfont[
> UprightFont = Fontin_Sans_R_45b,
> BoldFont = Fontin_Sans_B_45b,
> ItalicFont = Fontin_Sans_I_45b,
> BoldItalicFont = Fontin_Sans_BI_45b,
> SmallCapsFont = Fontin_Sans_SC_45b,
> Ligatures = TeX
> ]{Fontin Sans}
> fails miserably.
Hmmm , that is interesting. I don't have the font, but
looking at the log in the absence of the font, it doesn't
look as if the underscores are causing problems :
\documentclass [aps] {revtex4}
\usepackage {fontspec}
\setsansfont[
UprightFont = Fontin_Sans_R_45b,
BoldFont = Fontin_Sans_B_45b,
ItalicFont = Fontin_Sans_I_45b,
BoldItalicFont = Fontin_Sans_BI_45b,
SmallCapsFont = Fontin_Sans_SC_45b,
Ligatures = TeX
]{Fontin Sans}
\begin {document}
\end {document}
(e:/TeX/Live/2010/texmf-dist/tex/latex/fontspec/fontspec.cfg))
kpathsea: Running mktextfm Fontin_Sans_R_45b
The command name is E:\TeX\Live\2010\bin\win32\mktextfm
kpathsea: Running mktexmf Fontin_Sans_R_45b.mf
The command name is E:\TeX\Live\2010\bin\win32\mktexmf
name = Fontin_Sans_R_45b, rootname = Fontin_Sans_R_45b, pointsize =
mktexmf: empty or non-existent rootfile!
Cannot find Fontin_Sans_R_45b.mf.
kpathsea: Appending font creation commands to missfont.log.
! Font \zf at basefont=Fontin_Sans_R_45b at 10.0pt not loadable: Metric (TFM) file
or installed font not found.
<to be read again>
\let
l.11 ^^I^^I]{Fontin Sans}
? ^Z
Philip Taylor
More information about the XeTeX
mailing list