[OS X TeX] installing t1-fonts

Bruno Voisin Bruno.Voisin at hmg.inpg.fr
Thu Jun 27 05:15:18 EDT 2002



Le jeudi 27 juin 2002, à 10:15 , mahakk a écrit :

> well, one problem, though:
>
> using
>
>     \oldstylenums{1}
>
> doesn't work, or rather the oldstylenums are still only bitmaps. any
> workaround for these?

latex.ltx says:

\def\oldstylenums#1{%
    \begingroup
     \spaceskip\fontdimen\tw@\font
     \usefont{OML}{\rmdefault}{\f at series}{it}%
     \mathgroup\symletters #1%
    \endgroup
}

while omlcmr.fd says:

\DeclareFontShape{OML}{cmr}{m}{it}%
    {<->ssub*cmm/m/it}{}
\DeclareFontShape{OML}{cmr}{bx}{it}%
    {<->ssub*cmm/b/it}{}

and omlcmm.fd says:

\DeclareFontShape{OML}{cmm}{m}{it}%
      {<5><6><7><8><9>gen*cmmi%
       <10><10.95>cmmi10%
       <12><14.4><17.28><20.74><24.88>cmmi12%
       }{}
\DeclareFontShape{OML}{cmm}{b}{it}{%
       <5><6><7><8><9>gen*cmmib%
       <10><10.95><12><14.4><17.28><20.74><24.88>cmmib10%
       }{}
\DeclareFontShape{OML}{cmm}{bx}{it}%
    {<->ssub*cmm/b/it}{}

All in all this means, I think, that the fonts cmmi5-10,12 are used. I'm 
surprised you get bitmaps, I thought teTeX was set by default to use 
PostScript versions of CM fonts. Or do you get bold characters in sizes 
6, 8 or 9, which for cmmib are not available in PostScript form and are 
created from sizes 5, 7 or 10 by interpolation? Is it a Fink-induced 
problem, should you have it (I don't)?

Have you tried:

\usepackage{textcomp}

it will load textcomp.sty which says:

\DeclareTextSymbolDefault{\textzerooldstyle}{TS1}
\DeclareTextSymbolDefault{\textoneoldstyle}{TS1}
\DeclareTextSymbolDefault{\texttwooldstyle}{TS1}
\DeclareTextSymbolDefault{\textthreeoldstyle}{TS1}
\DeclareTextSymbolDefault{\textfouroldstyle}{TS1}
\DeclareTextSymbolDefault{\textfiveoldstyle}{TS1}
\DeclareTextSymbolDefault{\textsixoldstyle}{TS1}
\DeclareTextSymbolDefault{\textsevenoldstyle}{TS1}
\DeclareTextSymbolDefault{\texteightoldstyle}{TS1}
\DeclareTextSymbolDefault{\textnineoldstyle}{TS1}

and ts1enc.def which says:

\DeclareTextSymbol{\textzerooldstyle}{TS1}{48}
\DeclareTextSymbol{\textoneoldstyle}{TS1}{49}
\DeclareTextSymbol{\texttwooldstyle}{TS1}{50}
\DeclareTextSymbol{\textthreeoldstyle}{TS1}{51}
\DeclareTextSymbol{\textfouroldstyle}{TS1}{52}
\DeclareTextSymbol{\textfiveoldstyle}{TS1}{53}
\DeclareTextSymbol{\textsixoldstyle}{TS1}{54}
\DeclareTextSymbol{\textsevenoldstyle}{TS1}{55}
\DeclareTextSymbol{\texteightoldstyle}{TS1}{56}
\DeclareTextSymbol{\textnineoldstyle}{TS1}{57}

while ts1cmr.fd says:

\EC at family{TS1}{cmr}{m}{n}{tcrm}

Then the font tcrm should be called for, which is part of sfrm in 
cm-super. Maybe you need to use \textoneoldstyle instead of 
\oldstylenums{1}, I'm not sure.

In any case, not very straightforward!

Bruno Voisin


-----------------------------------------------------------------
Threaded list archives can be found at:
<http://www.masda.vxu.se/~pku/MacOSX_TeX/>
-----------------------------------------------------------------
To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.
-----------------------------------------------------------------




More information about the MacOSX-TeX mailing list