Increased font size so it's less blurry on large screens

At 2048x2048 this should be enough for 400 characters
Hope this doesn't cause problems for e.g. chinese -_-
This commit is contained in:
yairm210 2025-06-17 16:49:52 +03:00
parent 302004e3aa
commit 4c637374a1

View File

@ -33,10 +33,10 @@ import kotlin.math.ceil
*/
object Fonts {
/** All text is originally rendered in 50px (set in AndroidLauncher and DesktopLauncher), and then scaled to fit the size of the text we need now.
/** All text is originally rendered in one size, and then scaled to fit the size of the text we need now.
* This has several advantages: It means we only render each character once (good for both runtime and RAM),
* AND it means that our 'custom' emojis only need to be once size (50px) and they'll be rescaled for what's needed. */
const val ORIGINAL_FONT_SIZE = 50f
const val ORIGINAL_FONT_SIZE = 100f
const val DEFAULT_FONT_FAMILY = ""
lateinit var fontImplementation: FontImplementation