* issues with fonts and font effects
@ 2020-11-08 10:22 Pablo Rodriguez
2020-11-08 10:36 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2020-11-08 10:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: issues with fonts and font effects
2020-11-08 10:22 issues with fonts and font effects Pablo Rodriguez
@ 2020-11-08 10:36 ` Wolfgang Schuster
2020-11-08 12:46 ` Pablo Rodriguez
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2020-11-08 10:36 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Pablo Rodriguez
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-11-08 12:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-08 10:22 issues with fonts and font effects Pablo Rodriguez
2020-11-08 10:36 ` Wolfgang Schuster
2020-11-08 12:46 ` Pablo Rodriguez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).