From 633ebbb89a3ed18a56f42aec0a2ed2201a36cf46 Mon Sep 17 00:00:00 2001 From: ricardobna Date: Tue, 6 Apr 2021 12:57:14 -0300 Subject: [PATCH] font: removes resizing of font on simulator for better fidelity across platforms (#323) fixes #293 --- TotalCrossSDK/src/main/java/totalcross/Launcher.java | 1 - 1 file changed, 1 deletion(-) diff --git a/TotalCrossSDK/src/main/java/totalcross/Launcher.java b/TotalCrossSDK/src/main/java/totalcross/Launcher.java index 9dda667c43..df9fe89be8 100644 --- a/TotalCrossSDK/src/main/java/totalcross/Launcher.java +++ b/TotalCrossSDK/src/main/java/totalcross/Launcher.java @@ -2025,7 +2025,6 @@ public UserFont getFont(totalcross.ui.font.Font f, char c) { // verify if its in the cache. String fontName = f.name; int size = (int) (Math.max(f.size, totalcross.ui.font.Font.MIN_FONT_SIZE) * Settings.screenDensity); // guich@tc122_15: don't check for the maximum font size here - size += ((int) (size * 0.15)) * 3; char faceType = c < 0x3000 && f.style == 1 ? 'b' : 'p'; int uIndex = ((int) c >> 8) << 8;