(svn r23472) -Fix [FS#4877]: the monospace font broke the bootstrap GUI's ability to find a font

This commit is contained in:
rubidium
2011-12-10 12:56:37 +00:00
parent 6cbeb9e745
commit ebb3ad33ff
3 changed files with 10 additions and 7 deletions

View File

@@ -125,7 +125,7 @@ Dimension GetStringBoundingBox(StringID strid);
uint32 FormatStringLinebreaks(char *str, const char *last, int maxw, FontSize start_fontsize = FS_NORMAL);
int GetStringHeight(StringID str, int maxw);
Dimension GetStringMultiLineBoundingBox(StringID str, const Dimension &suggestion);
void LoadStringWidthTable();
void LoadStringWidthTable(bool monospace = false);
void DrawDirtyBlocks();
void SetDirtyBlocks(int left, int top, int right, int bottom);