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

Clemens Kirchgatterer clemens at 1541.org
Sat Sep 22 09:25:23 PDT 2007


"Torsten Giebl" <wizard at syntheticsw.com> wrote:

> 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.

best regards ...
clemens


More information about the SDL mailing list