Hi Hans,

Done, with context --luatex from TeX Live 2025 (LuaTeX 1.22.0, MkIV). What
ends up in the embedded fonts:

TrueType (hints-ttf.tex, DejaVu Sans):
- pdfTeX: cvt, fpgm and prep kept, 35 glyphs with instructions, 6 composites
- MkIV --luatex: the same as pdfTeX (cvt, fpgm, prep, 35 instructed glyphs,
6 composites)
- LMTX 2026.10.01: no cvt, fpgm or prep, no instructions, composites
flattened

Type 1 (hints-t1.tex, lmr10):
- pdfTeX: the Type 1 program as is, hints kept
- MkIV --luatex: converted to CFF; the Private dict keeps BlueValues,
StdHW, StdVW, StemSnapH and StemSnapV, but the charstrings have no
hstem/vstem/hintmask
- LMTX 2026.10.01: converted to CFF; no hint keys and no stem hints

So for TrueType, LuaTeX already does what we ask for, and LMTX could do the
same. For Type 1, LuaTeX keeps half (the Private keys) and LMTX keeps none.

Dax

On Mon, Oct 05, 2026 01:40 PM, Hans Hagen via ntg-context <
[email protected]> wrote:

> On 10/5/2026 9:12 PM, Dax Kelson via ntg-context wrote:
> > Hi Hans,
> >
> > Two test files are attached. Both use free fonts from TeX Live, so they
> > run as they are:
> >
> > - hints-ttf.tex: DejaVu Sans (TrueType, hinted; the accented letters are
> > composite glyphs).
> > - hints-t1.tex: Latin Modern Roman 10, lmr10.pfb (Type 1, hinted; it
> > uses subroutines, hint replacement and flex).
>
> Can you also test with --luatex ?
>
> 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