Hopefully my code will give you an idea.
Where can I find it?
Anyway, my concern is not how to generate the outline, but rather how to use it properly. In SFML, the bitmap font is a black and white texture which is then modulated with a global color. How do you handle this with outlines? Do you have a separate texture containing only the outline, or do you use static colors?
Well I plan on releasing it within a week or so.
Maybe today or tomorrow actually.
I just want to add a few necessary features.
And yes, I store a separate texture containing the outline.
This means:
Pros:
-Flexibility
-Ease of use
Cons:
-Slight increase in memory usage
-Slight decrease in performance (tests showed about 15%)
I understand the hardest thing would be working it into SFML's design/style.
Looks great!
That really does look great. This would be a great feature for SFML.
Thanks!
I hope one day it will be standard SFML.
Until then, I'll be working on it.