Text: Fix FreeType font loading.
commit4d91a70e678339b10b0ed4b35ba9a18ccc84fa67
authorCyril Hrubis <metan@ucw.cz>
Sat, 24 Dec 2011 22:52:50 +0000 (24 23:52 +0100)
committerCyril Hrubis <metan@ucw.cz>
Sat, 24 Dec 2011 22:52:50 +0000 (24 23:52 +0100)
tree6d88528e6b7ec33bb5185125bdc2baab067eaf03
parent584415285129a73670aa799560d765a94707850e
Text: Fix FreeType font loading.

The font metadata are not correct
compute the text ascender and descender
from the glyphs while we load them.
libs/text/GP_FreeType.c
libs/text/GP_Text.gen.c.t
tests/SDL/fileview.c
tests/SDL/fonttest.c
tests/SDL/textaligntest.c