just preload it, as in:
\usebodyfont[modern]
\setupbodyfont[plex]
\setuphead
[section]
[style={\switchtobodyfont[modern]}]
\starttext
\section{A}
A
\stoptext
That seems to have fixed it. Thanks!
-- Max
On 6/30/2022 10:36 AM, Max Chernoff via ntg-context wrote:
If you load the Plex typescript, a spurious space is added on the first
switch to another font, messing up any alignment. This doesn't happen
with any other fonts; only with Plex.
MWE:
If you load the Plex typescript, a spurious space is added on the first
switch to another font, messing up any alignment. This doesn't happen
with any other fonts; only with Plex.
MWE:
\setuphead[section][style={\switchtobodyfont[modern]}]
\setupbodyfont[plex]
\starttext