solarus-games / solarus

This repository was moved to GitLab: https://gitlab.com/solarus-games/solarus
http://www.solarus-games.org
Other
712 stars 133 forks source link

Text color with the bitmap fonts #654

Open Maxs1789 opened 9 years ago

Maxs1789 commented 9 years ago

When creating a text_surface with a bitmap font, the color of the text isn't applied.

This could be easily done with the ColorMod of SDL. (SDL_SetSurfaceColorMod)

christopho commented 9 years ago

Why not. It would work with completely white bitmap fonts, but also even with fonts like https://github.com/christopho/solarus/blob/master/sample_quest/data/fonts/8_bit.png.