(currently not possible) Request for improvements to font manipulation

This forum is for the Lua scriptable clone of DM/CSB called Dungeon Strikes Back by Sophia. Use DSB to build your own highly customised games.

Moderator: Sophia

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

(currently not possible) Request for improvements to font manipulation

Post by Gambit37 »

Would it be possible to add an option to fonts, to allow the specified colour to additively affect the bitmap?

It would be great to be able to use a grey-scale font that respects all the greys when applying the colour, which would mean we could use some great classic bitmap fonts from the olden days ;-). For example:

Image
User avatar
Sophia
Concise and Honest
Posts: 4239
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: Request for improvements to font manipulation

Post by Sophia »

Unfortunately, this isn't really possible due to DSB's reliance on Allegro's text drawing routines, which are... not the greatest.
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: (currently not possible) Request for improvements to font manipulation

Post by Gambit37 »

OK, no problem. I can alway pre-generate a few colours for in PhotoShop.
Post Reply