|
Post by TheMVRules on May 22, 2010 9:35:51 GMT -5
Maybe it's time to change or edit the internal font to a real ANSI font, instead of the DOS one. Since we live in non-English countries and have special characters like å, ä, ö, ñ, á, ü etc. would it be good to have a Windows/ANSI font instead. But for long, you could use attached font if you want ANSI characters. It is based on "Press Start", which is freeware. Use loadfont to load, it is 1bpp Attachments:
|
|
|
Post by Tom Maneiro on May 22, 2010 15:05:05 GMT -5
As another workaround, you may code on a DOS editor, or change the codepage of your BEX code to DOS with any decent text editor - that way, your ñ's and ü's would be properly mapped. But a new font is always nice - the default BEX font can be boring
|
|
|
Post by TheMVRules on May 23, 2010 11:03:49 GMT -5
That's extra work. Unfortunately, I'm laaaaazy...
|
|
|
Post by theelf on Jul 14, 2010 2:44:40 GMT -5
TheMVRules i was study your font, a question for you
- How do make the font? i know i can open your font in a tile editor, but there is a tool for make from scratch?
And a lot of questions for anybody ;D
- Is possible to make a custom font with only letters and numbers to save tile space? waste 256 tiles for fonts... is not very clever
- Is possible to make a font without transparent background (solid bg)? i think is useful for use in window plane that not support transparency...
Thanxs!!
|
|
|
Post by Tom Maneiro on Jul 14, 2010 3:46:08 GMT -5
1) Fonts are mapped to the first 256 VRAM tiles. So just dump these using your favorite VRAM debugger, use that as a template, copy/paste/draw/whatever, then quantize... If you want to use more than 1bpp fonts, don't use LoadFont, but LoadTiles instead. 2) Check CrazyBus/PLACAMASTER 68K sourcecode - i'm already overwriting a bunch of unused ANSI characters with my own tiles Stick to the first 128 characters. If you absolutely need ñ's and accented letters, remap them to another unused charcode (yep, i actually had to do that in CB2.0 for the "ñ"!). You will have to do things like print "espa" + chr$(newcode) + "ol", where "newcode" is the new charcode for the ñ that i have assigned in the code (for example, put it in the first 32 characters, which are unused and full of funky symbols! - on PC these are control codes, but on the Genesis these are more VRAM wasted ) 3) See 1) - use another pallette entry when drawing your fonts.
|
|
|
Post by TheMVRules on Jul 14, 2010 10:57:44 GMT -5
I used a program called Windfont to create fonts. You can get it at romhacking.net
|
|