* \switchtobodyfont fails to load font with some sizes
@ 2014-02-26 17:10 Joshua Krämer
2014-02-26 21:57 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Joshua Krämer @ 2014-02-26 17:10 UTC (permalink / raw)
To: ntg-context-wvrSQK3plZs
Dear list,
with some font sizes, \switchtobodyfont loads Latin Modern Roman
instead of the specified typeface:
\definefontfamily [firstfamily] [serif] [TeX Gyre Bonum]
\definefontfamily [secondfamily] [serif] [TeX Gyre Termes]
\setupbodyfont [firstfamily, 60pt]
\starttext
abc {\switchtobodyfont [secondfamily, 60pt] abc} abc
abc {\switchtobodyfont [secondfamily, 50pt] abc} abc
\stoptext
Kind regards,
Joshua Krämer
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: \switchtobodyfont fails to load font with some sizes
2014-02-26 17:10 \switchtobodyfont fails to load font with some sizes Joshua Krämer
@ 2014-02-26 21:57 ` Wolfgang Schuster
2014-02-28 19:28 ` Joshua Krämer
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2014-02-26 21:57 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 26.02.2014 um 18:10 schrieb Joshua Krämer <joshua.kraemer@gmail.com>:
> Dear list,
>
> with some font sizes, \switchtobodyfont loads Latin Modern Roman
> instead of the specified typeface:
>
>
> \definefontfamily [firstfamily] [serif] [TeX Gyre Bonum]
> \definefontfamily [secondfamily] [serif] [TeX Gyre Termes]
>
> \setupbodyfont [firstfamily, 60pt]
>
> \starttext
>
> abc {\switchtobodyfont [secondfamily, 60pt] abc} abc
>
> abc {\switchtobodyfont [secondfamily, 50pt] abc} abc
>
> \stoptext
Add \definebodyfontenvironment[50pt] before \starttext.
Wolfgang
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: \switchtobodyfont fails to load font with some sizes
2014-02-26 21:57 ` Wolfgang Schuster
@ 2014-02-28 19:28 ` Joshua Krämer
0 siblings, 0 replies; 3+ messages in thread
From: Joshua Krämer @ 2014-02-28 19:28 UTC (permalink / raw)
To: ntg-context-wvrSQK3plZs
On 2014-02-26, 22:57, Wolfgang Schuster wrote:
> Add \definebodyfontenvironment[50pt] before \starttext.
Thanks, that does the trick.
Kind regards, Joshua
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context-wvrSQK3plZs@public.gmane.org / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-02-28 19:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-26 17:10 \switchtobodyfont fails to load font with some sizes Joshua Krämer
2014-02-26 21:57 ` Wolfgang Schuster
2014-02-28 19:28 ` Joshua Krämer
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).