Prototype of FON2 creator (V3)

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Dethernal
Posts: 46
Joined: Tue Feb 10, 2009 5:40 am

Prototype of FON2 creator (V3)

Post by Dethernal »

Image
http://rghost.ru/56920371
https://github.com/Dethernal/NilDoomFontGen
Please sorry for my bad English. This program creates FON2 fonts (with different width of symbols).
This program is like DoomFontGen, but without using a buggy imagetool. Program has very few functions yet (I wrote it on pure WINAPI, interface is crap). It works with FON2 type fonts yet. Works only three first option : typeface, height and weight. Program save font as dbigfont.fon2 in our work directory.
I plan to further develop the program. While you can report problems and the functions that you find useful.
Last edited by Dethernal on Wed Jul 16, 2014 3:32 am, edited 6 times in total.
User avatar
Tormentor667
Posts: 13556
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

Re: Prototype of FON2 creator

Post by Tormentor667 »

Uh... can you do a english translation?
Dethernal
Posts: 46
Joined: Tue Feb 10, 2009 5:40 am

Re: Prototype of FON2 creator

Post by Dethernal »

Tormentor667 wrote:Uh... can you do a english translation?
Yes. But I think before I must do something that may be translated. There are three input box and one button. Nothing another do not work yet. Last working combo-box is weight select, work two value (<700 is normal and another is bold). It's windows GDI problem (not implemented since Windows 3.11). But changing this for some fonts change a result, I don't know, why.
User avatar
Nash
 
 
Posts: 17501
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: Prototype of FON2 creator

Post by Nash »

I am interested in this project!

Some annoying problems that DoomFontGen had:

- Cannot turn off anti aliasing so it resulted in non-crisp graphics
- There is a maximum font size, so I can't create really large fonts
User avatar
Syfo-Dyas
Posts: 214
Joined: Fri Dec 17, 2010 12:50 pm
Location: Another Huxleyian Dystopia

Re: Prototype of FON2 creator

Post by Syfo-Dyas »

Interesting!
Dethernal
Posts: 46
Joined: Tue Feb 10, 2009 5:40 am

Re: Prototype of FON2 creator

Post by Dethernal »

Nash wrote:I am interested in this project!

Some annoying problems that DoomFontGen had:

- Cannot turn off anti aliasing so it resulted in non-crisp graphics
- There is a maximum font size, so I can't create really large fonts
In this program, you may try to select negative value of height. This may solve first problem.
Dethernal
Posts: 46
Joined: Tue Feb 10, 2009 5:40 am

Re: Prototype of FON2 creator

Post by Dethernal »

Work in progress.
Image
the new menu was added, filters menu. Also a testing filter was added. This filter may darken (or brighten) the edge of symbols. I plan to add soon threshold filter, noise filter and texture filter. They do not filter :). They just executed sequentially, as filters in UNIX. New problem — preview of filters work is impossable yet and I don't know, when I make this.
A new version may be tomorrow.
User avatar
Nash
 
 
Posts: 17501
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: Prototype of FON2 creator

Post by Nash »

Wow looks awesome! Can't wait for the english version... :D
Dethernal
Posts: 46
Joined: Tue Feb 10, 2009 5:40 am

Re: Prototype of FON2 creator

Post by Dethernal »

http://yadi.sk/d/Wpk7jKaT2Xu3e
http://rghost.ru/43725870
Please test this version.
Some stuff are added.
Today, I have a headache, I do not want to start writing manual, in English. I began wrote a draft variant. Sorry for that.
So what, it's no one else interested?
Dethernal
Posts: 46
Joined: Tue Feb 10, 2009 5:40 am

Re: Prototype of FON2 creator (V3)

Post by Dethernal »

Image
http://rghost.ru/43802060
Thrid version.
Added Italic+kerning support.
Due to low interest to this util, I suspend do this. Maybe future I add some another filter, but not in this mouth.
User avatar
Nash
 
 
Posts: 17501
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: Prototype of FON2 creator (V3)

Post by Nash »

Whoa, I somehow missed your post above the last one... I didn't know you even uploaded it! Anyway, testing the version from http://rghost.ru/43802060 now... will report if there are any issues!

It's unfortunate that you decide to abandon this project... could you at least upload the source code so that other people can continue your work?

EDIT:

So far my only complaint is that when you change fonts in the font list, the preview image doesn't get updated in real-time... also some of these generated fonts produce unclean results... there are a lot of stray pixels in the resulting lump...

Also the UI is a little confusing but I understand this is early stuff...
Dethernal
Posts: 46
Joined: Tue Feb 10, 2009 5:40 am

Re: Prototype of FON2 creator (V3)

Post by Dethernal »

You may remove very dark pixels with threshold filter (the black is transparent).
Yes, I can upload source, maybe tomorrow (I need change something before, for example, make it possible to compile on gcc).
https://github.com/Dethernal/NilDoomFontGen
Dethernal
Posts: 46
Joined: Tue Feb 10, 2009 5:40 am

Re: Prototype of FON2 creator (V3)

Post by Dethernal »

Nash, so, you have managed to create a font or you stopped for a particular obstacle?
I go to the hospital, so I did not add anything I can for now. However, there is still time, I can fix anything or advise.
User avatar
Nash
 
 
Posts: 17501
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: Prototype of FON2 creator (V3)

Post by Nash »

Hey man, I haven't had any computer gaming time available for yesterday and today because I am in charge of a local concert so I've just been too busy to do anything modding related. I will post here when I get everything else out of the way.
Dethernal
Posts: 46
Joined: Tue Feb 10, 2009 5:40 am

Re: Prototype of FON2 creator (V3)

Post by Dethernal »

I thought t decided to ask exactly what you need from this program? Plans to create filters for import / export in bitmap and generation acs file for font metrics (and functions like GetStringWidth / GetStringHeigth)
By the way, I recently updated the source code.
Locked

Return to “Editing (Archive)”