Search found 3 matches

by kthuul
Tue Feb 24, 2009 10:21 pm
Forum: Code Snippets
Topic: GUI based dynamic font stroking
Replies: 6
Views: 2291

I was thinking that the other way of doing this 'dynamically' (without pregenerated font sets) is to render the text to an offscreen buffer and then do edge detection to create the stroke. The benefit of doing this would be that the stroke could be wider than 1 pixel (current limitation of my hack ...
by kthuul
Wed Feb 18, 2009 7:44 pm
Forum: Code Snippets
Topic: GUI based dynamic font stroking
Replies: 6
Views: 2291

True, but this will work for TT and OT fonts as well.
by kthuul
Thu Feb 05, 2009 11:36 pm
Forum: Code Snippets
Topic: GUI based dynamic font stroking
Replies: 6
Views: 2291

GUI based dynamic font stroking

Hi, I needed to draw stroked fonts in my GUI, since I couldn't predict what the background image would look like, and therefore contrast issues would crop up.

Now I'm pretty sure there is a much more effective way of achieving this effect, and if you have one, please please post it. Anyway, here is ...