SFML community forums

General => Feature requests => Topic started by: Lord Delvin on November 21, 2007, 05:25:12 pm

Title: Make colored strings more readable
Post by: Lord Delvin on November 21, 2007, 05:25:12 pm
I'd suggest to turn line 367 in FontManager.cpp

Code: [Select]
CurFont.Texture.SetPixel(x + Left, y + Top, Color(Pixels[x], Pixels[x], Pixels[x], Pixels[x]));


into

Code: [Select]
CurFont.Texture.SetPixel(x + Left, y + Top, Color(255, 255, 255, Pixels[x]));
So text should be more readable on colored text/background.
Title: Make colored strings more readable
Post by: Laurent on November 22, 2007, 02:15:52 am
Hum, sounds like a good idea, thanks.