ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* set fallback in \definefont
@ 2021-02-15 19:47 Mohammad Hossein Bateni
  2021-02-15 20:51 ` Pablo Rodriguez
  0 siblings, 1 reply; 6+ messages in thread
From: Mohammad Hossein Bateni @ 2021-02-15 19:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 542 bytes --]

Hi,

Is there a way to set the fallback for fonts when we define them not as a
typescript but using \definefont?

\definefont[MyFont][Font.otf*MyFeatures]

Is there a default fallback one can specify?
Is simplefonts module deprecated or discouraged now?

When we define a font via typescript commands, we can specify rm, ss, tt,
mm, hw and cg shapes for it.  Can we add arbitrary styles?  For example, I
would use this for quotations, headings, etc.  Currently, I either have to
spare ss or use \definefont for such scenarios.

Thanks,
--MHB

[-- Attachment #1.2: Type: text/html, Size: 710 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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] 6+ messages in thread

end of thread, other threads:[~2021-02-16 18:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-15 19:47 set fallback in \definefont Mohammad Hossein Bateni
2021-02-15 20:51 ` Pablo Rodriguez
2021-02-15 21:30   ` Wolfgang Schuster
2021-02-15 21:55     ` Mohammad Hossein Bateni
2021-02-15 21:31   ` Mohammad Hossein Bateni
2021-02-16 18:34     ` Wolfgang Schuster

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).