On 10/18/24 18:04, Sylvain Hubert wrote:
> I can define fake slant for a font with
>
> \definefontfamily[mainface][rm][My Fancy Font][sl=features:slanted]
>
> How can I do it with \definefallbackfamily?
Sorry, Sylvain, since you provide no sample, mine will contain Greek:
\definefallbackfamily [mainface][rm][Dejavu Sans]
[sl={style:regular, features:slanted},preset=range:greek]
\definefontfamily [mainface][rm][Latin Modern Sans]
\setupbodyfont [mainface]
\starttext
αβγ9 some word others
\sl αβγ9 some word others
\stoptext
I cannot get the slanted font if I use:
\enableexperiments[fonts.compact]
But this affects only LMTX, not MkIV.
Could anyone confirm this?
Many thanks for your help,
Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________