I made a class called SpriteText which is similar. Each character is an individual sprite, taking its texture subrect from a sprite sheet containing all the characters.
Applying different transformations across each character sprite can yield some interesting results.
You could probably acheive the same using sf::Text, but I went with sprites because I'm more familiar with them.