On 3 Feb 2026, at 18:50, Pablo Rodriguez via ntg-context <[email protected]>
wrote:
>
> Dear list,
>
> with current latest (2026.01.08 23:30), this following sample gets a
> ConTeXt error:
>
> \definefontfamily[mainface][rm][TeX Gyre Termes]
> \definefontfamily[mainface][tt][TeX Gyre Cursor][rscale=0.25]
> \setupbodyfont[mainface]
> \starttext
> just text
> \stoptext
>
> It is caused by rscale in Win64, both with LMTX and LuaTeX, but I
> cannot reproduce in Linux64.
>
> Could anyone confirm the issue? I really don’t know what I may be missing.
Confirmed.
- No error on the Mac under ConTeXt ver: 2026.01.08 23:30 LMTX fmt: 2026.1.8
int: english/english
- Error on Windows 11 under version: 2026.01.08 23:30
As my Windows was a brand new install I did the usual:
context --luatex --generate
context --luatex --make
mtxrun --generate
mtxrun --script fonts --reload
just to be sure and still no joy.
On a hunch I changed:
\definefontfamily[mainface][tt][TeX Gyre Cursor][rscale=0.25]
to
\definefontfamily[mainface][tt][{TeX Gyre Cursor}][rscale=0.25]
and it worked.
So something to do with finding the distribution fonts based on a name with
spaces perhaps?
Regards,
—
Bruce Horrocks
Hampshire, UK
___________________________________________________________________________________
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
___________________________________________________________________________________