[SDL] Border around text with TTF_RenderText
Clemens Kirchgatterer
clemens at 1541.org
Fri Jun 8 10:18:11 PDT 2007
"James Buchwald" <jamestheprogrammer at gmail.com> wrote:
> As for the borders, I don't know. I don't think that functionality is
> built in - you might have to write your own routines for that, if you
> really need that.
and it's not trivial. i think you have to use freetype directly and
paint the outlines coming out of it with your own "colour brush". i
once googled around alot, but could'nt find a free library, that was
able to render "nice" outlined fonts. some just do a simple edge
detection algorithm, but this really looks ugly.
best regards ...
clemens
More information about the SDL
mailing list