[XeTeX] Hanging figures by default with otf?
J P Blevins
jpb39 at cam.ac.uk
Thu Jun 10 18:34:24 CEST 2004
Thanks for the quick and informative replies!
But let me ask now if there is some trick to getting XeTeX to read font
definitions from style and/or fd files. Everything works fine if I add
the declarations below to the preamble of a single file. However, if I
set up a separate style file AdobeGaramondPro.sty:
\ProvidesPackage{AdobeGaramondPro}[2004/06/10 v1.0 Adobe Garamond Pro]
\renewcommand{\encodingdefault}{U}
\renewcommand{\rmdefault}{AdobeGaramondPro}
\endinput
and then put the declarations in UAdobeGaramondPro.fd (or
AdobeGaramondPro.fd), the otf fonts are not found, and silently
substituted. They are also not found if I dump the whole preamble into
the style file. Of course I rehash, etc., and I've never encountered
this problem with type 1 fonts, so I am a bit mystified.
Thanks,
-Jim
%Font declarations:
\DeclareFontFamily{U}{AdobeGaramondPro}{}
\DeclareFontShape{U}{AdobeGaramondPro}{m}{n}%
{<-> "Adobe\space Garamond\space Pro:+onum"}{}
\DeclareFontShape{U}{AdobeGaramondPro}{m}{it}%
{<-> "Adobe\space Garamond\space Pro\space Italic"}{}
\DeclareFontShape{U}{AdobeGaramondPro}{bx}{n}%
{<-> "Adobe\space Garamond\space Pro\space Bold"}{}
\DeclareFontShape{U}{AdobeGaramondPro}{b}{n}%
{<-> ssub * AdobeGaramondPro/bx/n}{}
\DeclareFontShape{U}{AdobeGaramondPro}{bx}{it}%
{<-> "Adobe\space Garamond\space Pro\space Bold\space Italic"}{}
\DeclareFontShape{U}{AdobeGaramondPro}{b}{it}%
{<-> ssub * AdobeGaramondPro/bx/it}{}
\DeclareFontShape{U}{AdobeGaramondPro}{m}{sc}%
{<-> "Adobe\space Garamond\space Pro:+smcp"}{}
\renewcommand*{\encodingdefault}{U}
\renewcommand*{\rmdefault}{AdobeGaramondPro}
More information about the XeTeX
mailing list