[XeTeX] Upper Case numbers in Hoefler Text??

christopher ciotti chris_ciotti at yahoo.com
Mon Oct 4 01:54:27 CEST 2004


Hello all -

I'm new to XeTeX  (just a few hours) and I'm having some trouble 
putting together font def files.  I wanted to make a few to represent 
the different flavors of Hoefler Text (they are based on an email from 
Bruno Voisin to the TeX on OSX mailing list).  When I make a def for 
italic, proportional (or tabular) upper case numbers, I get the default 
old-style figures in everything but regular text (which works as 
expected).  Can someone check this out for errors?  Thanks in advance.

  The fd file in question is below (the encoding and such things are set 
in a sty file--i'm using xelatex via i-Installer).

%%%%%%%%%%%%%%
\DeclareFontFamily{U}{hoeftxt}{}
\DeclareFontShape{U}{hoeftxt}{m}{n} {<-> "Hoefler\space Text:
   Ligatures=Common\space Ligatures;
   Number\space Spacing=Proportional\space Numbers;
   Number\space Case=Upper\space Case\space Numbers;
   Character\space Alternates=Alternates"}{}

\DeclareFontShape{U}{hoeftxt}{m}{it} {<-> "Hoefler\space Text\space 
Italic:
   Ligatures=Common\space Ligatures;
   Number\space Spacing=Proportional\space Number;
   Numbers\space Case=Upper\space Case\space Numbers;
   Character\space Alternates=Alternates"}{}

\DeclareFontShape{U}{hoeftxt}{b}{n} {<-> "Hoefler\space Text\space 
Black:
   Number\space Spacing=Proportional\space Numbers;
   Number\space Case=Upper\space Case\space Numbers;
   Character\space Alternates=Alternates"}{}

\DeclareFontShape{U}{hoeftxt}{b}{it} {<-> "Hoefler\space Text\space 
Black\space Italic:
   Number\space Spacing=Proportional\space Numbers;
   Number\space Case=Upper\space Case\space Numbers;
   Character\space Alternates=Alternates"}{}

\DeclareFontShape{U}{hoeftxt}{m}{sc} {<-> "Hoefler\space Text:
   Letter\space Case=Small\space Caps;
   Character\space Alternates=Alternates"}{}

\DeclareFontShape{U}{hoeftxt}{b}{sc} {<-> "Hoefler\space Text\space 
Black:
   Letter\space Case=Small\space Caps;
   Character\space Alternates=Alternates"}{}

\DeclareFontShape{U}{hoeftxt}{bx}{n} {<-> ssub * hoeftxt/b/n}{}
\DeclareFontShape{U}{hoeftxt}{bx}{it} {<-> ssub * hoeftxt/b/it}{}
\DeclareFontShape{U}{hoeftxt}{bx}{sc} {<-> ssub * hoeftxt/b/sc}{}


-- 
chris ciotti <chris_ciotti at yahoo.com>
http://www.keyserver.net/en/
Key ID: 0x0BD2B97A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2328 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20041003/4945bbe5/attachment-0001.bin


More information about the XeTeX mailing list