On 22 sept. 2026 at 12:49, Hans Hagen via ntg-context <[email protected]> wrote > In your test you don't enable font features for that font, right?
Yes, I think that's correct. (And maybe the reason why it fails?) Enclosed is the pdf generated by ConTeXt LMTX 2026.09.10 10:02 (which renders correctly with mupdf). Cheers, Florent Le mar. 22 sept. 2026 à 12:49, Hans Hagen via ntg-context < [email protected]> a écrit : > On 9/22/2026 11:17 AM, Florent Michel wrote: > > 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. > > In your test you don't enable font features for that font, right? YOu > can mail the old pdf so that we can see. > > 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 > > ___________________________________________________________________________________ >
test.pdf
Description: Adobe PDF document
___________________________________________________________________________________ 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 ___________________________________________________________________________________
