FON2FNT - Raster resource font converterFON2FNT - Raster resource font converter
FON2FNT is a small open source utility to convert windows DLL font resurce files (*.FON files) to FNT font format. FON is basically a 16 DLL(EXE) file with embedded FNT file as a resource.
The program automatically genereates the FNT file name. The resulting name will have the folowing format: 'fonfilename_fontheight.FON' (eg: 'Times_12.FNT') It's always appends the font size information because many FON file contains same font with different sizes, so the conversion may result many FNT files.
The WIN32 console EXE is provided in the compressed file. If you want to compile it on other platforms, it should be simple. You only need to compile 'FON2FNT.C'. However please check the 'FON2FNT.H'. It must reflect the integer sizes on your platform. (e.q. if you compile it on 16 bit platform you need to modify it) And please check the '#pragma pack(1)' line in the 'FON2FNT.C' file and update it according to your compiler options for byte packed structs.
|Copyright © 2006-2007 GadgetParadise|