Thanks Hans! I confirm your suggestion works on my side.

I also have an (apparently unrelated) issue with the Tengwar Annatar font:

\definefontfamily [tengwar] [rm] [tengwarannatar]
\starttext
\switchtobodyfont[tengwar]
t n m a e q
\stoptext

I can't see any warning in the log; however, the generated pdf looks
incorrect and mupdf-gl generates the following warnings when opening it:

warning: FT_Load_Glyph(ZUKGAK+TengwarAnnatar,7,FT_LOAD_NO_HINTING): invalid
argument
warning: FT_Load_Glyph(ZUKGAK+TengwarAnnatar,7,FT_LOAD_IGNORE_TRANSFORM):
invalid argument
warning: FT_Load_Glyph(ZUKGAK+TengwarAnnatar,7,FT_LOAD_IGNORE_TRANSFORM |
FT_LOAD_NO_HINTING): invalid argument
warning: cannot render glyph

(The previous ConTeXt version generated a pdf which looked right, and mupdf
did not complain when opening it. Happy to send the two files if that would
be useful.)

Not sure whether the issue is in my code, in ConTeXt, or in the font
itself.

Cheers,
Florent

Le mar. 22 sept. 2026 à 09:41, Hans Hagen via ntg-context <
[email protected]> a écrit :

> On 9/22/2026 9:47 AM, Florent Michel wrote:
> > Hi,
> >
> > Thanks a lot Hans for the new upload!
> >
> > After updating, I am getting issues with some OFT fonts, e.g. XITS:
> >
>  > ...
>
> > In case that's helpful, the following change to font-dsp.lmt seems to
> > solve the issue (not sure if it may have unwanted side effects):
> >
> > 2035 - local offset = tableoffset + feature.offset + feature.parameters
> > 2035 + local offset = tableoffset + feature.offset + (feature.parameters
> > or 0)
>
> or better 2256 (remove the test):
>
>              feature.parameters = parameters
>
> 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
>
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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