Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-01-08 | GRAPHICS: Silence an MSVC warning | Filippos Karapetis | |
2015-12-21 | GRAPHICS: Introduce a size mode for TrueType fonts | Bastien Bouclet | |
Allows to match Windows font size selection by converting font heights to point sizes using the TrueType tables. | |||
2015-04-11 | GRAPHICS: Force a cast to int to avoid gcc warnings | Matthew Hoops | |
2015-03-02 | GRAPHICS: Fix GCC signed/unsigned warnings. | Torbjörn Andersson | |
2014-09-03 | GRAPHICS: Allow negative xOffset in TTF. | Johannes Schickel | |
This should improve the visual looks of many fonts. However, it might result in the first line of the glyph to be drawn left of the position specified in drawChar. | |||
2014-09-03 | GRAPHICS: Allow to query the bounding box of chars/strings drawn with Font API. | Johannes Schickel | |
2014-06-09 | GRAPHICS: Allow client code to specify TTF render mode. | Johannes Schickel | |
This allows clients to use the default FreeType2 render mode instead of light. We really only use light as default because that's what looks best with the font we use in our GUI right now (which is the same reason why formerly light was always used in non-monochrome mode). | |||
2013-12-01 | GRAPHICS: Initialize variable. CID 1133708 | Eugene Sandulenko | |
2013-11-23 | GRAPHICS: Allow TTFFont to cache glyphs when required. | Johannes Schickel | |
This should allow TTFFont to display UTF-32 characters from fonts. | |||
2013-11-23 | GRAPHICS: Get rid of _glyphSlots in TTFFont. | Johannes Schickel | |
2013-11-23 | GRAPHICS: Let Font take uint32 as character codes. | Johannes Schickel | |
This is required to support UTF-32 strings but does not make them work automatically! | |||
2013-08-03 | GRAPHICS: Take advantage of Surface::getPixels. | Johannes Schickel | |
2012-08-09 | GRAPHICS: Add a DPI parameter to loadTTFFont. | Johannes Schickel | |
Will be used by WME. | |||
2012-05-03 | GRAPHICS: Remove unused function ftFloor26_6 in ttf.cpp. | Johannes Schickel | |
2012-03-28 | BASE: Free TTFLibrary singleton on shutdown. | Alyssa Milburn | |
This uses a helper function because TTFLibrary is internal. | |||
2012-03-19 | GRAPHICS: Render TTF glyphs at the right locations. | Alyssa Milburn | |
Or at least using the fields used by the FreeType examples. | |||
2012-03-19 | GRAPHICS: Fix TTF glyph drawing at negative Y positions. | Alyssa Milburn | |
2012-02-02 | GRAPHICS: 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-02 | GRAPHICS: Use monochrome font hinter for TTF's monochrome loading. | Johannes Schickel | |
2012-01-29 | GRAPHICS/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-29 | GRAPHICS/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-29 | GRAPHICS: Add a TTF font class using FreeType2. | Johannes Schickel | |