Am 16.05.2009 um 09:51 schrieb Vyatcheslav Yatskovsky:

Hello,

I'm still curious about using font features. For example, I want to have one typescript with slashed zero, and another with normal one. But using either typescript (see commented lines) results in slashed zeroes. What s wrong?

The setting in \definefontsynonym is used.

\definefontfeature[zero][default][zero=yes]

\starttypescript [serif] [MinionPro+zero]
    \definefontsynonym [Serif] [MinionPro-Regular] [features=zero]
\stoptypescript

\starttypescript [serif] [MinionPro]
    \definefontsynonym [Serif] [MinionPro-Regular] [features=default]
\stoptypescript

\starttypescript [serif] [MinionPro,MinionPro+zero]
\definefontsynonym [MinionPro-Regular] [file:MinionPro-Regular] [features=default]
\stoptypescript

\starttypescript [MinionPro,MinionPro+zero]
    \definetypeface [MinionPro] [rm] [serif] [MinionPro] [default]
\stoptypescript

%\usetypescript[MinionPro+zero]
\usetypescript[MinionPro]

\setupbodyfont[MinionPro,16pt]

\starttext
This zero test. 000.
\stoptext

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

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

Reply via email to