[dev-context] [NTG-context] strange font switching (bug?)

Taco Hoekwater taco at elvenkind.com
Tue Jul 18 15:14:12 CEST 2006


Hi,

Mojca Miklavec wrote:
> Hello,
> 
> can anyone explain this weird behaviour? The accents on the second

Just for debug information, this helps:

---
\def\xxdododefinefont#1#2#3#4% \autofontsizetrue is set by calling routine
   {\edef\lastfontidentifier{#3}%
-   \ifcsname\newfontidentifier\endcsname\else
+   \iftrue
      \def\localrelativefontsize{#1}%
      \def\localabsolutefontsize{#2}%
      \parsefontspec{#4}\newfontidentifier
      \let\localrelativefontsize\defaultrelativefontsize % not needed
    \fi
    \csname\newfontidentifier\endcsname
    \autofontsizefalse
    \ifskipfontcharacteristics \else
      \setfontcharacteristics
      \the\everyfontswitch
    \fi}
---


> page are broken (setting bodyfont to 7pt at the beginning works OK and
> using other sizes works as well.).
> 
> \setupbodyfont[8pt]
> 
> \startsetups{img}
> \switchtobodyfont[7pt]
> \stopsetups
> 
> \starttext
> \ccaron\scaron\zcaron
> \page \setups{img}
> \ccaron\scaron\zcaron
> \stoptext
> 
> Thank you very much,
>     Mojca
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context



More information about the dev-context mailing list