[ImageTool] Trying to convert to FON2

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
User avatar
NightFright
Spotlight Team
Posts: 1376
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

[ImageTool] Trying to convert to FON2

Post by NightFright »

I intend to create a small fix for CeeJay's "Shoe Shine" patch. Its BIGFONT lump has wrong pixels in the "3" and "P" characters, causing transparency glitches ingame. So far I've managed to extract the font image with ImageTool and edit it with GIMP.

That's where it ends, though. Converting the edited PCX to FON2 won't work.

When I am doing this:

Code: Select all

imagetool font bigfont.pcx bigfont.lmp
I get this:

Code: Select all

Dimensions: 117 x 118
Char #67 (C) has height 38 instead of 12
bigfont.lmp: Nothing to save
I have attached the edited PCX below for reference.
You do not have the required permissions to view the files attached to this post.
Blue Shadow
Posts: 5032
Joined: Sun Nov 14, 2010 12:59 am

Re: [ImageTool] Trying to convert to FON2

Post by Blue Shadow »

ImageTool can be weird sometimes, to say the least. I changed the dimensions of the image (to 180 x 180), saved it to disk and converted it, and it worked.

bigfont_fixed.7z
You do not have the required permissions to view the files attached to this post.
User avatar
camper
Posts: 114
Joined: Sun Feb 25, 2018 10:53 am
Location: Tatarstan

Re: [ImageTool] Trying to convert to FON2

Post by camper »

Blue Shadow wrote: Sat Aug 17, 2024 9:40 pm ImageTool can be weird sometimes, to say the least. I changed the dimensions of the image (to 180 x 180), saved it to disk and converted it, and it worked.


bigfont_fixed.7z
Is this font allowed to be used in my projects? What is its license?

Return to “Scripting”