ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug in fontswitching
@ 2010-12-10 10:51 Willi Egger
  2010-12-10 11:19 ` Thomas Schmitz
  0 siblings, 1 reply; 4+ messages in thread
From: Willi Egger @ 2010-12-10 10:51 UTC (permalink / raw)
  To: NTG-Context ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 349 bytes --]

Hi,

There seems to be a bug in the font switching mechanism. 

When using the fonts at small sizes up to 12pt everything is fine. However I detected while developing a title page, that larger sizes will not be honored.  I.e. that the font where it is switched to is not loaded at all.

See attached minimal example.

Kind regards
Willi


[-- Attachment #2: test-fontswitch.tex --]
[-- Type: application/octet-stream, Size: 455 bytes --]

% Context file
% Filename: test-fontswitch.tex
% 
% 10-12-2010
% Copyright (c) 2010 BOEDE. All rights reserved.

\usetypescript[palatino]
\usetypescript[bonum]
\usetypescript[schola]
\setupbodyfont[palatino,rm,12pt]

%\showframe
\def\Text{This is typeset in \fontname\font.}


\starttext
\def\Size{10pt}
\switchtobodyfont[\Size]
\Text

\switchtobodyfont[bonum,\Size]

\Text                               

\switchtobodyfont[schola,\Size]

\Text

\stoptext

[-- Attachment #3: Type: text/plain, Size: 486 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2010-12-10 16:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-10 10:51 Bug in fontswitching Willi Egger
2010-12-10 11:19 ` Thomas Schmitz
2010-12-10 14:23   ` Hans Hagen
2010-12-10 16:29     ` Thomas Schmitz

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