I don't know, whether this would fit to the idea of SFML.
An overlaodable CustomFont class we can use with a sf::Text object.
rough idea of usage:
class MyFont : CustomFont
{
sf::Font fnt;
void draw_character(UniCodeeChar char)
{
Texture t = fnt.GetTexture(char);
//handle offset seomehow
// draw green Circle around character
// draw t with red color, and scalred along y axis
// draw t with yellow Color
}
};
To achieve in this case something like this:
(image removed)
A more usefull case for this class could be rendering Text with custom glow or smooth shadow aor any other text effects