More tweaks

This commit is contained in:
Henrik Rydgård committed 2025-11-10 16:02:21 +01:00
1 parent 7b05ccafd4
commit bc024da16c
6 files changed
+21 -19

No files matched your search

+1 -1
View File
@@ -70,7 +70,7 @@ void TextDrawerAndroid::SetOrCreateFont(const FontStyle &style) {
AndroidFontEntry entry{};
entry.font = allocatedFonts_[filename];
entry.size = 1.4f * style.sizePts / dpiScale_; // Not sure why this formula works.
entry.size = 1.25f * style.sizePts / dpiScale_; // Not sure why this formula works.
// Just chose a factor that looks good, don't know what unit size is in anyway.
fontMap_[style] = entry;