Fixed font size issue with oversampling

This commit is contained in:
brunoherbelin
2020-05-11 15:48:43 +02:00
parent 1e715267da
commit 5a7e1fcbb8
3 changed files with 8 additions and 7 deletions

View File

@@ -39,7 +39,7 @@ namespace ImGuiToolkit
FONT_MONO,
FONT_LARGE
} font_style;
void SetFont(font_style type, const std::string &ttf_font_name, int pointsize);
void SetFont(font_style type, const std::string &ttf_font_name, int pointsize, int oversample = 2);
void PushFont(font_style type);
// color of gui items