mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 03:56:43 +00:00
(svn r24007) [1.2] -Backport from trunk:
- Fix: Improve rounding when converting display speeds to internal speeds [FS#5079] (r23995) - Fix: Also reset the font glyph cache when switching blitters (r23992, r23987) - Fix: [NewGRF] Also display the cargo subtype for vehicles which have no capacity, but a subtype [FS#5076] (r23991)
This commit is contained in:
@@ -974,6 +974,14 @@ void UninitFreeType()
|
||||
_library = NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Reset cached glyphs.
|
||||
*/
|
||||
void ClearFontCache()
|
||||
{
|
||||
ResetGlyphCache(true);
|
||||
ResetGlyphCache(false);
|
||||
}
|
||||
|
||||
static FT_Face GetFontFace(FontSize size)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user