forked from mirror/OpenTTD
(svn r25313) -Fix: Do not assume '8' to be the broadest digit, but test all of them.
This commit is contained in:
@@ -150,6 +150,7 @@ bool ToggleFullScreen(bool fs);
|
||||
/* gfx.cpp */
|
||||
byte GetCharacterWidth(FontSize size, uint32 key);
|
||||
byte GetDigitWidth(FontSize size = FS_NORMAL);
|
||||
uint GetBroadestDigit(FontSize size = FS_NORMAL);
|
||||
|
||||
/**
|
||||
* Get height of a character for a given font size.
|
||||
|
Reference in New Issue
Block a user