[NTG-context] suggestions for \definefontfamily and \definefallbackfamily

2020-02-07 Thread Pablo Rodriguez
Hi Wolfgang,

would it be possible that \definefontfamily could load fonts directly
(not defined in the font database), like \definefont?

\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 improvement would be to allow "method=uppercase" with
\definefallbackfamily to be able to fake smallcaps (as used with
\definefontfallback 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
___


[NTG-context] suggestions for \definefontfamily and \definefallbackfamily

2019-05-12 Thread Pablo Rodriguez
Hi Wolfgang,

as I reported the issue with the fonts and LMTX, I remembered two
suggestions I wanted to post here.

The first one is enabling the use of "method=uppercase" in
\definefallbackfamily (to get fake caps, such as in
https://mailman.ntg.nl/pipermail/ntg-context/2018/092878.html).

The second feature is to enable \definefontfamily to load font files not
part of the font database, the same way as \definefont is able to load them.

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
___