bturner@hpcvlx.HP.COM (Bill Turner) (01/06/89)
> Does anyone know the format of Windows .FON files? These contain > font info, descriptions of characters etc and I would like to > extract some of this. A .FON file is a Windows executable file with no code. Really! I haven't found where it's documented in the 2.x manuals, but in the 1.x Programming Guide there was an appendix on creating fonts and .FON files. Basically, you create a dummy code module that does nothing, and you link with some options specified in the DESCRIPTION string to tell about the font. You specify all the .FNT resources with RC. After you finish linking, you have a program file that can't be executed, so you rename it to .FON. To examine the file, use exehdr. If you want to delve deeper, get a copy of the .EXE format document and dig in (NOT recommended for the faint of heart). --Bill Turner