ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* suggestions for \definefontfamily and \definefallbackfamily
@ 2020-02-07 20:32 Pablo Rodriguez
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Rodriguez @ 2020-02-07 20:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* suggestions for \definefontfamily and \definefallbackfamily
@ 2019-05-12 18:03 Pablo Rodriguez
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Rodriguez @ 2019-05-12 18:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-07 20:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-07 20:32 suggestions for \definefontfamily and \definefallbackfamily Pablo Rodriguez
  -- strict thread matches above, loose matches on Subject: below --
2019-05-12 18:03 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).