Dear Hans, Our PDFs must keep the hinting of our old TrueType and Type 1 fonts, because readers view them at screen resolution in FreeType-based viewers. We do this now with our own writers. Because mainwriters is local, we switch the font's format to a name with no writer and write the objects from a later finalizer.
1. Would you accept lpdf.registerfontwriter(format, writer), and exported widtharray, tounicodedictionary and the registry/metadata helpers? 2. Optionally, a switch to keep TrueType hinting as writettf.c does: cvt, fpgm, prep and PCLT copied, glyph instructions kept, composites kept. 3. Optionally, carry Type 1 hstem/vstem and the Private hint keys into the CFF. We can contribute code for 2 and 3, and FreeType raster comparisons against pdfTeX. Point 1 alone would already help us. Best regards, Dax Kelson Guru Labs
___________________________________________________________________________________ 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 ___________________________________________________________________________________
