On 2/4/2026 12:31 AM, Bruce Horrocks wrote:
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?

So that is one for Wolfgang then, but it's a bit weird that windows and unix differ here. On my machine I get

\definefontfamily[mainface][rm][TeX Gyre Termes]
% \definefontfamily[mainface][tt][TeX Gyre Cursor][rscale=1.05]
\definefontfamily[mainface][tt][{TeX Gyre Cursor}][rscale=1.05]

\setupbodyfont[mainface]

\starttext
    just text \tt test
\stoptext

but maybe something was fixed in the meantime.

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