Had a strange thought. Would it be possible to create custom Fonts for use in Strings? Very general question warrants a very general answer, if you want. 😛
On creating new fonts for strings.
ShadowTiger wrote:Had a strange thought. Would it be possible to create custom Fonts for use in Strings? Very general question warrants a very general answer, if you want. 😛
Okay!
Yes, it's theoretically possible.
Ah. Likely excellent. In theory, I am very happy with this. 😃
The fonts are all generic Allegro fonts, so technically all you really need to do is follow Allegro's conventions.
What we don't have are any mechanisms for using new fonts, since right now ZC still uses data files for that purpose. There are still plans to make new fonts directly inserted into the quest file for that purpose.
Indeed; I had assumed as such. I'm actually not asking if we can make some as fans: I'm asking if we can make fonts to use with the program itself, hard-codedly, to sit side by side with all the other fonts we can already use.
ShadowTiger wrote:Indeed; I had assumed as such. I'm actually not asking if we can make some as fans: I'm asking if we can make fonts to use with the program itself, hard-codedly, to sit side by side with all the other fonts we can already use.
The mono bitmap fonts are so tiny in size that I don't see why not.
Cool. 😊 Thanks. Any particular specifications on what it needs to look like, or the format it needs to be in? I already have a few ideas to port in. (Always loved these.)
I would assume the grabber could probably do it. I'd be happy if we could open the fonts.dat with it and edit away. Thing is, the grabber always fails to open it, probably because its compressed in some way that it doesn't understand. I had some ideas for fonts myself. I've got a qst with a whole bitmap font made by hand that I wish I could use in it.
Questwizard88 wrote:I would assume the grabber could probably do it. I'd be happy if we could open the fonts.dat with it and edit away. Thing is, the grabber always fails to open it, probably because its compressed in some way that it doesn't understand. I had some ideas for fonts myself. I've got a qst with a whole bitmap font made by hand that I wish I could use in it.
The grabber fails because the DAT files are password protected.
I believe they are all mono bitmap (If I remember right) fonts. (bmp or pcx) Mono being single - colored. Bitmap containing 256 glyphs ( starting from ASCII value 32..? ). I usually use TTF and never created my own so I might be wrong. I believe the format is very standard though.
I am however not entirely sure of just what might have to be changed to make them usable in zc. The subscreens, string editor, (string control codes?), etc. would have to be updated. Might be better to collect first then add them all in at the same time.