On 10/8/2025 3:06 AM, Max Chernoff via ntg-context wrote:
Hi Hans,

\averagecharwidth gives incorrect values when compact fonts are enabled.
Sample document:

     \startTEXpage
         \dowith{,\tfa,\tfb,\tfc,\tfd}{#1\the\averagecharwidth\ }
     \stopTEXpage

When compiled with the default settings (compact fonts enabled), I get
the same values for each size, which is incorrect:

     4.63582pt 4.63582pt 4.63582pt 4.63582pt 4.63582pt

When compiled with "--nocompactfonts", I get the expected values:

     5.56299pt 6.68124pt 8.01183pt 9.61844pt 11.54353pt

fixed in next upload ... we need to multiply by the current

  (glyphscale/1000) * (glyphxscale/1000)

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to