On May 10, 2009, at 9:38 PM, Hans Hagen wrote:
how do you use rscale?
\definetypeface [xxxx] [rm] [serif] [times] [default] \definetypeface [xxxx] [ss] [sans] [helvetica] [default] [rscale=5]
\starttext \setupbodyfont[xxxx] \rm test \ss test \stoptext
works ok
I think I have found the problem and a test file: the problem occurs when I define two fonts with different rscales. In this case, only the last defined rscale is taken into account, the other one is discarded. Here's the file: \usetypescript[times] \setupbodyfont[times,12pt] \definetypeface [one] [rm] [serif] [palatino] [default] [rscale=2] \definetypeface [two] [rm] [serif] [schoolbook] [default] [rscale=0.5] \starttext Hello world! \switchtobodyfont[one] One \switchtobodyfont[two] Two \stoptext If you switch the two \definetypeface lines, you'll see what I mean. And since my module defines both a font "greek" and "altgreek," each with its own rscale, that's why I was seeing it in my files and couldn't reproduce the error at first. Not easy to find... All best Thomas