SDL_ttf patch

Hi,

attached is a patch that implements variable sized glyph cache sizes
for SDL_ttf. As noted under [1] the ‘small’ cache size is not very
useable for cyrillic chars.

But a little warning, I’ve not yet tested it very well.

[1] http://osdir.com/ml/games.enigma.devel/2006-10/msg00019.html--
http://ufoai.sf.net
http://sf.net/projects/ufoai
-------------- next part --------------
A non-text attachment was scrubbed…
Name: SDL_ttf.diff
Type: plain/text
Size: 12376 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20080904/5e8843e9/attachment.bin

Cool!
Though many entries in your patch is white space changes (indentation).
I makes it hard to see the actual modifications, so I’d suggest you supply separate patches for the “variable sized glyph cache sizes” and the formatting.

M. Gerhardy wrote:> Hi,

attached is a patch that implements variable sized glyph cache sizes
for SDL_ttf. As noted under [1] the ‘small’ cache size is not very
useable for cyrillic chars.

But a little warning, I’ve not yet tested it very well.

[1] http://osdir.com/ml/games.enigma.devel/2006-10/msg00019.html



SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Ok, i seperated the code patch - and fixed some errors with using the
wrong size variable.

Greetings
MartinAm Freitag, den 05.09.2008, 01:12 +0200 schrieb andreas:

Cool!
Though many entries in your patch is white space changes (indentation).
I makes it hard to see the actual modifications, so I’d suggest you supply separate patches for the “variable sized glyph cache sizes” and the formatting.

M. Gerhardy wrote:

Hi,

attached is a patch that implements variable sized glyph cache sizes
for SDL_ttf. As noted under [1] the ‘small’ cache size is not very
useable for cyrillic chars.

But a little warning, I’ve not yet tested it very well.

[1] http://osdir.com/ml/games.enigma.devel/2006-10/msg00019.html



SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
-------------- next part --------------
A non-text attachment was scrubbed…
Name: SDL_ttf_code.diff
Type: text/x-patch
Size: 2645 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20080905/b4d81b2e/attachment.bin

Hi,

something speaking against this patch (just wondering because i didn’t
get any other response after i submitted the second patch).

Greetings
Martin

something speaking against this patch (just wondering because i didn’t
get any other response after i submitted the second patch).

For Cyrillic characters it’s probably better to use some sort of hash table
rather than a really really large array.

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