SDL_ttf kerning patch

Hello everyone,

here’s a patch which adds freetype2 kerning support to SDL_ttf2. Maybe the
maintainer can add it to CVS.

cu,
Martin____________________________________
Martin Skinner
IT Development


ART+COM
Medientechnologie und Gestaltung AG


Kleiststr. 23-26
10787 Berlin, Germany


mailto:@Martin_Skinner
http://www.artcom.de


phone: +49.30.21001-0
fax: +49.30.21001-555


-------------- next part --------------
A non-text attachment was scrubbed…
Name: SDL_ttf.c.diff
Type: application/octet-stream
Size: 2231 bytes
Desc: SDL_ttf.c.diff
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20040514/ae7b3982/attachment.obj

Hello everyone,

here’s a patch which adds freetype2 kerning support to SDL_ttf2. Maybe the
maintainer can add it to CVS.

Done! Thanks. :slight_smile:

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Thanks for providing the kearning patch. How can I set the kearning? Is it
built into the font so that it happens automatically or is there (hopefully)
an API for changing it? I looked at the code but the answer didn’t jump out
at me. Thanks!
–Warren> ----- Original Message -----

From: martin.skinner@artcom.de (Martin Skinner)
To:
Sent: Friday, May 14, 2004 12:48 PM
Subject: [SDL] SDL_ttf kerning patch

Hello everyone,

here’s a patch which adds freetype2 kerning support to SDL_ttf2. Maybe the
maintainer can add it to CVS.

cu,
Martin


Martin Skinner
IT Development


ART+COM
Medientechnologie und Gestaltung AG


Kleiststr. 23-26
10787 Berlin, Germany


mailto:martin.skinner at artcom.de
http://www.artcom.de


phone: +49.30.21001-0
fax: +49.30.21001-555





SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Thanks for providing the kearning patch. How can I set the kearning? Is it
built into the font so that it happens automatically or is there (hopefully)
an API for changing it? I looked at the code but the answer didn’t jump out
at me. Thanks!

It happens automatically. I haven’t looked at it yet to see how the quality
looks, but you don’t need to do anything to activate it.

See ya!
-Sam Lantinga, Software Engineer, Blizzard Entertainment