Re: Lout typesetting questions

Valery Ushakov <[email protected]> Tue, 11 Nov 2025 09:53:01 +0300
Newsgroups gmane.comp.type-setting.lout
Message-ID <[email protected]>
On Mon, Nov 10, 2025 at 20:38:48 +0000, William Bader wrote:

> > it's Unicode support and TTF/OTF support
>
> I think that lout doesn't need to understand fonts. It just needs an
> AFM and a reference to one of the LCM files in the maps directory
> with the encoding.  For other applications, I have made AFMs with
> ttf2pt1 ( I have a clone at https://github.com/william8000/ttf2pt1
> ), which can make a postscript Type 1 font from ttf and otf using
> the FreeType library and then the ghostscript printafm script, which
> can generate an AFM from Type 1 fonts.  I haven't tried it, but
> probably lout could use other font types with the proper
> configuration files without needing any C coding changes.

Sure.  I did all that 30 years ago already.  But it is quite
inconvenient.  Doing that 30 years ago for one or two exotic fonts is
one thing.  Doing that for virtually all fonts in a modern world is
quite another.


-uwe