[SDL] [SDL_ttf] disable kerning or provide a function

Torsten Giebl wizard at syntheticsw.com
Sat Sep 22 04:55:54 PDT 2007


Hello !


> Unfortunately, there is no documented functionality to perform this. I
> could be
> rendering all the glyphs solely and put them together in the end (but
> "officially" I don't know how to merge a few surfaces into one - such
> functions
> as SDL_AllocSurface are undocumented, and rendering many surfaces instead
> of one
> would, as I suppose, slow the application down, not to mention the
> redundancy in
> data structures)


Instead of SDL_AllocSurface you would use SDL_CreateRGBSurface and
then blit all the chars using SDL_BlitSurface.


CU



More information about the SDL mailing list