[DoomCRAP] ZDoom Font Generator
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.
Got a cool project idea but nothing else? Put it in the project ideas thread instead!
Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.
Please read the full rules for more details.
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.
Got a cool project idea but nothing else? Put it in the project ideas thread instead!
Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.
Please read the full rules for more details.
-
-
- Posts: 17465
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
Very nice. I'm loving it so far. It's already saved me about the usual 2-4 hours I normally spend to create a font, and I used that time to *gasp* enjoy real-life!
Does anyone have any tips on how to create a working CONFONT though? No matter how I size the font and adjust the cell sizes, I can never get it to work correctly, especially in the controls menu.
(The other non-text glyphs are missing too, but it shouldn't be hard to add that from imagetool's confont.pcx)
Does anyone have any tips on how to create a working CONFONT though? No matter how I size the font and adjust the cell sizes, I can never get it to work correctly, especially in the controls menu.
(The other non-text glyphs are missing too, but it shouldn't be hard to add that from imagetool's confont.pcx)
-
- Lead GZDoom+Raze Developer
- Posts: 49184
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
-
- Posts: 13549
- Joined: Wed Jul 16, 2003 3:52 am
-
- Posts: 1490
- Joined: Sat Oct 20, 2007 10:31 pm
Thanks!Nash wrote:Very nice. I'm loving it so far. It's already saved me about the usual 2-4 hours I normally spend to create a font, and I used that time to *gasp* enjoy real-life!
Yes. doomfontgen does not currently create palettes correctly for confonts. Until I get this fixed, here's what you can do:Nash wrote:Does anyone have any tips on how to create a working CONFONT though? No matter how I size the font and adjust the cell sizes, I can never get it to work correctly, especially in the controls menu.
First, download the Gimp. Windows users can get it here - http://gimp-win.sourceforge.net/
1 - Create a confont in doomfontgen and save it as a PCX.
2 - Open the PCX with the Gimp.
3 - From the menu, select "Image -> Mode -> Greyscale"
4 - From the menu, select "Image -> Mode -> Indexed..."
5 - Make sure "Generate optimum palette" is checked and "color dithering" is set to none. Click OK.
Now, save the pcx. It should work fine as a CONFONT now.
If you want to see whats going on here, select (from the menu) "Dialogs -> Colormap" after step 2. Take a look at the dialog that pops up. Leave it open and look at it again after step 5.
Yeah, I was going to deal with this by using some line drawing characters from the unicode set. I may try to use some other little vector shapes (postscript, svg, or maybe wmf) for those, or some simple bitmaps. Not sure yet.Nash wrote:(The other non-text glyphs are missing too, but it shouldn't be hard to add that from imagetool's confont.pcx)
By the way, just in case you didn't notice, you can type in that textbox in the bottom right corner. For instance if you want to add the little selector for the menus, just throw a dash or something in the right spot in that textbox, and voila You can copy character maps that you like into a text editor and save them for later, then paste them back into that box when you want to use them. There are 4 example ones in the res/ directory.
-
- Posts: 1490
- Joined: Sat Oct 20, 2007 10:31 pm
-- IT'S UPDATE TIME AGAIN! --
New version is 0.2.3
* STCFN* font support - added option to save font as a folder full of images
* Fixed palette when exporting indexed console font (thanks, ImageMagick)
* Console font characters are now centered when using a variable width font
link - http://doomfontgen.sourceforge.net/
edit - by the way, that stuff i was talking about in my last post is fixed in this version. However, it is still useful: You can save confont images as truecolor, edit them, and then fix the palette using the above technique.
New version is 0.2.3
* STCFN* font support - added option to save font as a folder full of images
* Fixed palette when exporting indexed console font (thanks, ImageMagick)
* Console font characters are now centered when using a variable width font
link - http://doomfontgen.sourceforge.net/
edit - by the way, that stuff i was talking about in my last post is fixed in this version. However, it is still useful: You can save confont images as truecolor, edit them, and then fix the palette using the above technique.
-
-
- Posts: 17465
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
-
- Posts: 11347
- Joined: Mon Oct 06, 2003 3:41 pm
- Operating System Version (Optional): Windows 10
- Location: United Kingdom
-
- Posts: 1490
- Joined: Sat Oct 20, 2007 10:31 pm
-
-
- Posts: 17465
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
-
- Posts: 11347
- Joined: Mon Oct 06, 2003 3:41 pm
- Operating System Version (Optional): Windows 10
- Location: United Kingdom
-
-
- Posts: 26574
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
-
- Posts: 1490
- Joined: Sat Oct 20, 2007 10:31 pm
yeah, pretty much. Get imagetool ( http://zdoom.org/files/utils/imagetool.zip ) and read the readme, it is written very clearly and will probably help explain the purpose of this tool.Enjay wrote:Then you use imagetool (unless that's been integrated now - haven't had time to check yet).
Better yet, get a graphics editing program that can handle pcx. Save pngs instead of pcx, and use the graphics editing program to add effects and texture to your font. Then save as paletted pcx, and THEN use imagetool.
After using imagetool, of course, you will need to use a wad editor to put the resulting lump in your wad.
I'll create some tutorials later.
That is definitely planned, however the platform this tool uses does not seem to support control over antialiased fonts. According to the documentation it is supposed to be able to do so, but it seems to be unsupported, at least under GTK. Maybe it works under Windows.Nash wrote:It appears that the fonts are anti-aliased upon export.
Could you possibly add an option to turn off anti-aliasing so the pixels remain crisp?
For now, the only workaround is to set the font antialiasing in control panel / gnome font preferences.
-
-
- Posts: 17465
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
-
- Posts: 1490
- Joined: Sat Oct 20, 2007 10:31 pm