Pablo Rodriguez <mailto:oi...@gmx.es>
17. Oktober 2016 um 20:07
Dear list,

from the previous message from Csikos, I have generated the following
sample:

\setupbodyfontenvironment[default][a=5, x=8, xx=6]
\starttext
Default {\tfa Larger} {\tfx Smaller1} {\tfxx Smaller1} \\
Default \tfa Larger \tfx Smaller2 \tfxx Smaller2
\stoptext

I can set a different value for a, but not for x or xx. The values for x
and xx seem to be hardcoded.

If this isn’t a bug, what am I missing here?
The default sizes (12pt, 11pt etc.) have fixed values for x and xx, you can see them in font-pre.mkiv:

\definebodyfontenvironment
  [\!!twelvepoint]
  [        \s!text=\!!twelvepoint,
         \s!script=\!!ninepoint,
   \s!scriptscript=\!!sevenpoint,
              \s!x=\!!tenpoint,
             \s!xx=\!!eightpoint,
            \v!big=\!!fourteenpointfour,
          \v!small=\!!tenpoint]

Wolfgang
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to