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

* Re: Bug in fontswitching
  2010-12-10 10:51 Bug in fontswitching Willi Egger
@ 2010-12-10 11:19 ` Thomas Schmitz
  2010-12-10 14:23   ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Schmitz @ 2010-12-10 11:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, 10 Dec 2010 11:51:54 +0100
  Willi Egger <w.egger@boede.nl> wrote:
> Hi,
> 
> There seems to be a bug in the font switching mechanism. 
> 
I was just preparing a minimal example for a similar 
problem :-) Switching to italic fonts doesn't work at all. 
Here is an example:

\starttext

This is regular, {\it and this not italic} {\bf (and this 
is bold).}

\stoptext

All best

Thomas
___________________________________________________________________________________
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

* Re: Bug in fontswitching
  2010-12-10 11:19 ` Thomas Schmitz
@ 2010-12-10 14:23   ` Hans Hagen
  2010-12-10 16:29     ` Thomas Schmitz
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2010-12-10 14:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 10-12-2010 12:19, Thomas Schmitz wrote:
> On Fri, 10 Dec 2010 11:51:54 +0100
> Willi Egger <w.egger@boede.nl> wrote:
>> Hi,
>>
>> There seems to be a bug in the font switching mechanism.
> I was just preparing a minimal example for a similar problem :-)
> Switching to italic fonts doesn't work at all. Here is an example:
>
> \starttext
>
> This is regular, {\it and this not italic} {\bf (and this is bold).}
>
> \stoptext
>
> All best

hopefully fixed (math vs text issue)


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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

* Re: Bug in fontswitching
  2010-12-10 14:23   ` Hans Hagen
@ 2010-12-10 16:29     ` Thomas Schmitz
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Schmitz @ 2010-12-10 16:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, 10 Dec 2010 15:23:37 +0100
  Hans Hagen <pragma@wxs.nl> wrote:

>> I was just preparing a minimal example for a similar 
>>problem :-)
>> Switching to italic fonts doesn't work at all. 
> 
> hopefully fixed (math vs text issue)
> 
Yes, looks like this is fixed.

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