[AD] xf2pcx update |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Hi, I've had a modified version of xf2pcx lying around since I added the euro character sometime last year, and right now I felt like making a patch out of it (although xf2pcx isn't that useful anymore, given the various font addons which exist for allegro, and support things like AA rendering which xf2pcx doesn't). So, just ignore this if something more important like 4.0.3 release is going on.. The modified version allows to use a 16-byte range instead of the fixed characters 0x20-0xff like before (I just replaced XDrawText with XrawText16 and so on), and the output PCX always uses a fixed grid now, like with ttf2pcx, which makes it easier to post-process the pcx, and also simplifies the code. Included as well are some code changes, like using Allegro functions directly where duplicates were used before for some reason, and the code was reformatted with allegro/indent.pro. The patch is attached. I included it in the make process, but I have some doubt about the use of 'getopt' in the original xf2pcx - there's a configure check for unistd.h, so maybe I should remove getopt and use the same option parsing like in the non-x11 tools? -- Elias Pschernig <elias@xxxxxxxxxx>
Attachment:
xf2pcx.diff.gz
Description: GNU Zip compressed data
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |