aboutsummaryrefslogtreecommitdiff
path: root/graphics/fonts/ttf.cpp
AgeCommit message (Collapse)Author
2012-02-02GRAPHICS: Obtain pointer to dst surface after bounds checks in TTF renderer.Johannes Schickel
This should really make sure we are not drawing outside the surface bounds.
2012-02-02GRAPHICS: Use monochrome font hinter for TTF's monochrome loading.Johannes Schickel
2012-01-29GRAPHICS/GUI: Implement charset mapping for TTF fonts.Johannes Schickel
The charsets used by the translations now need to have a "$(name).cp" file, which contains an charset index => unicode mapping. Otherwise create_translations will fail.
2012-01-29GRAPHICS/GUI: Implement kerning support for Font.Johannes Schickel
This adapts the related graphics code, which is the generic Font API and the TTF font implementation. It furthermore adapts the GUI to properly take care of kerning in text input widgets.
2012-01-29GRAPHICS: Add a TTF font class using FreeType2.Johannes Schickel