[SDL] [SDL_ttf] disable kerning or provide a function
Torsten Giebl
wizard at syntheticsw.com
Sat Sep 22 10:35:21 PDT 2007
Hello !
>> For example width & height for "a", width & height for "b"
>> and then check if width for "a" + width for "b" = width for "ab"
>
> maybe it is better to avoid SDL_ttf completly in this case. i dunno if
> SDL_ttf does kerning at all but if it does things might be get
> complicated as "ab" might have a different width than "ba". freetype on
> the other hand naturally provides you with this information and it
> isn't that hard to use either. as i learnt reacently it even can render
> the glyphs outlines, a feature often asked for, but seldom implemented.
If SDL_ttf has no such function, it should be
added to it, or at least to its TODO list :-)
CU
More information about the SDL
mailing list