Pablo Rodriguez schrieb am 08.11.2020 um 11:22:
Hans,

this sample comes from Sylvain’s message:

     %~ \definefontfeature[ef1][effect={width=1.0}]
     \definefontfeature[ef2][effect={width=}]
     \definefontfamily[face1][rm][gabriola]
         [features={default, ef1}]
     \definefontfamily[face2][rm][gabriola]
         [features={default, ef2}]
     \starttext
     \switchtobodyfont[face1]\dorecurse{100}{a b c }

     \switchtobodyfont[face2]\dorecurse{100}{a b c }

     \switchtobodyfont[palatino]\dorecurse{100}{a b c }
     \stoptext

\setupbodyfont[palatino] or \switchtobodyfont[palatino] don’t seem to
work at all.

Results are different if feature ef1 is defined or not.

It's best to check these things first with \definefont to ensure it isn't a problem of \definefontfamily.

With all features defined, paragraph width is wrong using
"effect={width=1.0}".

Add auto=yes: \definefontfeature [ef1] [effect={width=1.0,auto=yes}]

Wolfgang
___________________________________________________________________________________
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