Re: [NTG-context] issues with fonts and font effects
On 11/8/20 11:36 AM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 08.11.2020 um 11:22: >> [...] >> With all features defined, paragraph width is wrong using >> "effect={width=1.0}". > > Add auto=yes: \definefontfeature [ef1] [effect={width=1.0,auto=yes}] Many thanks for your explanation, Wolfgang. The "auto" key is news to me. I thought this was the default before. Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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 ___
Re: [NTG-context] issues with fonts and font effects
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 ___
[NTG-context] issues with fonts and font effects
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. With all features defined, paragraph width is wrong using "effect={width=1.0}". Could you check this? Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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 ___