ide: Support for scale testing

This commit is contained in:
Mirek Fidler 2026-04-18 11:15:35 +02:00
parent 72cabd1048
commit 3bdb383c7c

View file

@ -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);
}