With the help of Patrick's otfinstall I've installed a font for use with
pdftex/mark ii.  this works fine so far, but i want to use the
microtypographic features not only for the base font, but for the old
style figures variant, too.

\usetypescriptfile[type-corporate]
\usetypescript[corporate]

\setupfontsynonym[Serif][handling=pure]
\setupfontsynonym[Sans][handling=pure]

\definetypeface[corporate][rm][serif][corporate][default][encoding=texnansi]
\definetypeface[corporate][ss][sans][corporate][default][encoding=texnansi]
\definetypeface[corporate][tt][mono][modern]  [default][rscale=1.12]
\definetypeface[corporate][mm][math][iwona]   [default][rscale=1.02]

\setupfonthandling[hz][min=25,max=25,step=5]
\usetypescript[sans][hanging][normal]   % this creates the 'handling' synonyms
\usetypescript[serif][hanging][normal]  % this creates the 'handling' synonyms
\usetypescript[sans][hz][quality]   % this creates the 'handling' synonyms
\usetypescript[serif][hz][quality]  % this creates the 'handling' synonyms
\setupbodyfont[corporate,ss,10pt]
%\Var[osf]

This works for normal figures, but when I switch to osf with \Var[osf]
there is no protrusion nor font expansion.

TIA,
 olli

-- 
Oliver Heins he...@sopos.org    http://oliverheins.net/
http://blog.overheins.net/     F27A BA8C 1CFB B905 65A8
http://scriptorium-adp.de/     2544 0F07 B675 9A00 D827
1024D/9A00D827 2004-09-24 -- gpg --recv-keys 0x9A00D827
Please avoid sending me Word or PowerPoint attachments:
http://www.gnu.org/philosophy/no-word-attachments.html
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to