Code: Select all
C:\imagetool>imagetool.exe font megaman.pcx megaman.lmp
Dimensions: 105 x 105
megaman.lmp: Nothing to save
C:\imagetool>
Code: Select all
C:\imagetool>imagetool.exe font megaman.pcx megaman.lmp
Dimensions: 105 x 105
megaman.lmp: Nothing to save
C:\imagetool>
...in other words, that #a56b6b color should be the last entry in your palette, not the second.imagetool.txt wrote: font
----
This produces a file of type FON2. Unlike FON1, this format supports
custom palettes and characters of varying widths. You also don't need to
supply a full 256 characters and, in fact, cannot do so without scripting.
The source image should have each character surrounded by a box made up of
palette entry 255. Like confonts, palette entry 0 indicates transparency,
but unlike confonts, all the other 254 colors in the source image's palette
are used to colorize the font, so you can use any palette you want when
designing the font.
When converting with the command line, the first character must be a space,
and the box surrounding it must start in the upper-left corner of the source
image. These restrictions are relaxed if you use scripting, which I will
discuss later.