Home | Reviews | GUIpedia | Forum | Fun500


BrandonFont & 255 Characters
My font routine only supports the first ~126 characters, so a QML Browser isn't really an option as of yet. I did get Trolly's font to work, but I'd have to change the size of all my buttons and dialogs and everything to accomodate his 8x8 font (mine is 6x8). So what I need is my font modified to support characters 1-255, if you make it happen credit will be given of course.
2010-05-165:09 PM

HorvatMRe:Font & 255 Characters
Sure. You want codepage 437 I assume?
2010-05-165:13 PM

BrandonRe:Font & 255 Characters
Yes
2010-05-165:47 PM

HorvatMRe:Font & 255 Characters
OK, the font is done BUT there are a couple of things you should consider: 1. Character 158 (the peseta sign) is considered obsolete. You may want to replace it with the Euro sign. 2. Some accented letters (Ç, ü, é, â, ä, ç, ë, î, Ä, É, ô, ö, Ö, Ü, á, í, ó, ú, and some others) do not leave the last two rows empty because the extra space is needed for the diacritical marks. These characters will therefore look a bit funny next to other characters. Sorry. 3. BY FAR THE MOST IMPORTANT: FontEdit 2.0 thinks that the JFont format only supports characters 1 to 126, so when saving to that format it strips them out. (Yeah, stupid limitation. The format isn't limited to that.) I edited its source but I discovered that it was compiled with PowerBASIC. And that's commercial software. I could have made 2 separate fonts and hacked them together, but that would have made editing a nightmare. (And now it's too late anyway...?) So if you have PowerBASIC or can perform some magic font trickery you might be able to reconstruct the font. Or just switch to another font format, JFont is bloated anyway. BTW: I HATE THIS POST EDITOR! I accidentally scrolled my mouse wheel up while holding down the Shift key and all the text disappeared! Which meant I had to type all of it all over again! Fortunately I had a part of it in a screendump because I am used to it being crap. Sigh.
2010-05-193:09 PM

BrandonRe:Font & 255 Characters
I am aware that font edit does that, which is why I didn't just open it up and edit thefont myself.
2010-05-194:27 PM

HorvatMRe:Font & 255 Characters
I sent you the font along with the updated code to load it.
2010-05-209:55 AM

BASIC Programming Help


2021 Brandon Cornell