change font scale based on ui scale, fix brush outline color

This commit is contained in:
2019-08-08 23:50:45 +02:00
parent 34464c167e
commit 67dd9a2456
6 changed files with 59 additions and 25 deletions

View File

@@ -130,8 +130,8 @@ void App::initAssets()
LOG("initializing assets");
FontManager::init();
LOG("initializing assets loading fonts");
FontManager::load(kFont::Arial_11, "data/fonts/Roboto-Regular.ttf", 17);
FontManager::load(kFont::Arial_30, "data/fonts/Roboto-Regular.ttf", 30);
FontManager::load(kFont::Arial_11, "data/fonts/Roboto-Regular.ttf", 17, display_density * zoom);
FontManager::load(kFont::Arial_30, "data/fonts/Roboto-Regular.ttf", 30, display_density * zoom);
LOG("initializing assets create sampler");
sampler.create(GL_NEAREST);