On 8/25/2024 2:15 PM, Wolfgang Schuster wrote:
How differs "1" from "2"? * em fs
\startbuffer[dimensions] \starttabulate \NC em \EQ \the\dimexpr1em\relax \NC\NR % \emwidth \NC fs \EQ \the\dimexpr1fs\relax \NC\NR % \globalbodyfontsize \stoptabulate \stopbuffer
\starttext
\getbuffer[dimensions]
\setupbodyfont[14.4pt]
\getbuffer[dimensions]
\stoptext Often they are the same (basically font units) but there can be some rounding going on; also bodyfont sizes are clipped
\starttext \the\numexpr(\dimexpr1fs\relax/65536)*100\relax\par \the\numexpr(\dimexpr1em\relax/65536)*100\relax \the\dimexpr1fs\relax\par \the\dimexpr1em\relax \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------