How the !#$% do you make a font?! (:
Displaying 1-3 of 3 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
Wyrdwad

Graaaah... I've never tried making fonts before (I've always used other peoples'), and I can't even convert a simple PCX file (like BGFONT.PCX from the original V1 distribution) properly anymore... every time I do, no matter what I use (FNTMAK or whatnot), I can't seem to get it to show up as anything other than jumbled pixels in my game.

I've tried checking all the help files for the various VERGE versions on my computer, but to no avail: they all explain things based upon prior knowledge, which I have NONE of.

Could someone please give me a nice step-by-step explanation of what the !"#$ I'm supposed to do to make a decent font? (:

Also, if there's any way to convert an FNT file back to a PCX, I'd like to know that, too.

Thank you. (:

-Tom




http://forgottenkings.tripod.com/ http://wyrdwad.diaryland.com/

Posted on 2002-08-28 02:17:44

GMW

I just used PCX2FNT.exe...

I had a little trouble with it at first: My palette was off, and I had the pic buffer off by a pixel somewhere, but I basically just went and followed the instructions there. To wit:

Run PCX2FNT.exe. it asks for the pcx filename. Supply it. I believe you include the ".pcx" in that... Then it asks what the output file should be called. Supply it. Presumably with the ".fnt" extension included. (It's been a while) It asks for the width of the font. That should be how wide a single cell is in pixels. Height comes next. Now comes subsets. I forget if the first set is subset 1 or 0, so if one of them is bad, try the other! (Just did a dry test run, with 0 subsets, and got a 0 KB output file, so I presume it's 1 subset. :) )

And that's it.

If all possible permutations of that fail, then it's beyond me.

Random pixels sounds like you're pulling random memory from the computer, but I certainly *assume* you're passing LoadFont("Wyrdwad.fnt") into a variable, and using that in the PrintString statements... If the "random pixels" look *sorta* like your font, I'd assume that it's the 1-pixel buffer, the height/width were a pixel off, or the game is recoloring because the palette for the image wasn't the game's. :)

-GMW-



Posted on 2002-08-28 19:18:13

Wyrdwad

OK, thanks for the help!! If that is indeed the case, then does such a thing exist as FNT2PCX.EXE, so I can take an already-existing FNT and actually EDIT it? (:

-Tom




http://forgottenkings.tripod.com/ http://wyrdwad.diaryland.com/

Posted on 2002-09-08 22:49:03


Displaying 1-3 of 3 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.