Hi Willi,

To be save you should make a combination of the onum/lnum and pnum/tnum features.

\definefontfamily [unifraktur] [rm] [Unifraktur Maguntia]
\definefontfamily [unifraktur] [tt] [Latin Modern Mono]

\setupbodyfont [unifraktur]

\definefontfeature [onum+pnum] [onum=yes,pnum=yes]
\definefontfeature [onum+tnum] [onum=yes,tnum=yes]
\definefontfeature [lnum+pnum] [lnum=yes,pnum=yes]
\definefontfeature [lnum+tnum] [lnum=yes,tnum=yes]

\starttext

Unifraktur Maguntia

\starttabulate[|lT|l|]
\NC default     \NC 1234                       \NC\NR
\NC onum + pnum \NC \feature[+][onum+pnum]1234 \NC\NR
\NC onum + tnum \NC \feature[+][onum+tnum]1234 \NC\NR
\NC lnum + pnum \NC \feature[+][lnum+pnum]1234 \NC\NR
\NC lnum + tnum \NC \feature[+][lnum+tnum]1234 \NC\NR
\stoptabulate

\stoptext

Wolfgang


Willi Egger schrieb am 12.11.18 um 16:41:
Hi all,

is there somebody among the ConTeXt users, who has experience with the font 
UnifrakturMaguntja (http://unifraktur.sourceforge.net/maguntia.html#)?

I tried all kind of approaches to get the font switching between lnum, tnum 
pnum and onum. — I come to the conclusion that I am unable to subtract and add 
features. I appreciate any help.

Please refer to the appended tex file.

Kind regards

willi


___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to