ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* selecting big bodyfont results in wrong size
@ 2006-12-14 20:24 Alex Lubberts
  0 siblings, 0 replies; only message in thread
From: Alex Lubberts @ 2006-12-14 20:24 UTC (permalink / raw)


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

Hi all,

Some strange thing with fontsize is happening. In my typescript file is:

\starttypescript[Chaparral]
  \definetypeface [Chaparral][rm][serif][chaparral][dtp][encoding=uc]
...

because I want to use the 'dtp sizes' (and I'm using XeTex). For a
bodyfont of 12pt is defined in type-siz.tex:

\definebodyfontenvironment
  [12pt]
  [\s!text=12pt,\s!script=9pt,\s!scriptscript=7pt,
   \c!x=10pt,\c!xx=8pt,\c!big=14pt,\c!small=10pt]

So one would expect that switching to a big bodyfont will result in a
fontsize of 14pt. But when I typeset the next file:

\usetypescriptfile[type-adobe]
\usetypescript[Chaparral]
\setupbodyfont[Chaparral,12pt]

\starttext
Normal size is correct: \the\bodyfontsize.

\switchtobodyfont[big]
Big size should be 14pt, but is: \the\bodyfontsize.
\stoptext

I see that the big bodyfontsize is 14.4pt. (I attached the resulting
pdf.) How do I fix this?

Thanks and with regards,
Alex Lubberts

[-- Attachment #2: minimal.pdf --]
[-- Type: application/pdf, Size: 8756 bytes --]

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-14 20:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-14 20:24 selecting big bodyfont results in wrong size Alex Lubberts

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