mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 14:16:09 -06:00
ide: Support for scale testing
This commit is contained in:
parent
72cabd1048
commit
3bdb383c7c
1 changed files with 3 additions and 0 deletions
|
|
@ -164,6 +164,9 @@ bool Font::std_font_override;
|
|||
void Font::SetDefaultFont(Font font)
|
||||
{
|
||||
LLOG("SetDefaultFont " << font);
|
||||
int override_scale = Atoi(GetEnv("UPP_SCALE__"));
|
||||
if(override_scale)
|
||||
font.Height(decode(override_scale, 3, 18, 4, 24, 6, 36, 12));
|
||||
if(!std_font_override)
|
||||
SetStdFont0(font);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue