Allegro.cc
Projects
Resource Directory
|
ttf2pcx
Source Directory
» Tools
» Fonts
» ttf2pcx
http://www.talula.demon.co.uk/ttf2pcx/index.html This little utility converts TrueType fonts into PCX files that can be imported into the Allegro grabber program. Select a font, click on export, type a filename, and don't blame me if it doesn't work, because I wrote this in an afternoon and I haven't tested it properly :-) As well as normal monochrome data the program can output antialiased fonts, which are generated by rendering the TrueType characters at eight times the requested size and then scaling down (an 8x8 supersampling grid provides 64 intensity levels). Fonts in this format can be drawn in Allegro by passing -1 as the color to textout(), but this will obviously only work if you have a suitable gradient in your palette. This program is freeware. Use it or abuse it in any way you want. |
Poll
View Results
|