* request for \definefontfamily and \definefallbackfamily
@ 2019-07-07 19:29 Pablo Rodriguez
0 siblings, 0 replies; only message in thread
From: Pablo Rodriguez @ 2019-07-07 19:29 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Wolfgang,
I have two requests to be implemented in \definefontfamily.
The first one is that is able to load fonts not defined as entries in
the font database.
Here you have a minimal sample:
\definefont[Test][file:texgyrepagella-regular.otf at 10pt]
\definefont[TestOne][file:texgyrepagella-regular-500.otf at 10pt]
\definefontfamily [mainface] [rm] [Pagella]
[tf={file:texgyrepagella-regular.otf},
bf={file:texgyrepagella-regular-500.otf}]
\setupbodyfont[mainface]
\starttext
normal\\
\bf bold not working\\
\Test this works
\TestOne this works
\stoptext
The second one would be to allow method=uppercase to
\definefallbackfamily, so it could be used to fake small caps (such as
in https://mailman.ntg.nl/pipermail/ntg-context/2018/092878.html.
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] only message in thread
only message in thread, other threads:[~2019-07-07 19:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-07 19:29 request for \definefontfamily and \definefallbackfamily 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).