Fonts
object Fonts
Content copied to clipboard
Functions
Properties
font
Link copied to clipboard
ORIGINAL_FONT_SIZE
Link copied to clipboard
All text is originally rendered in 50px (set in AndroidLauncher and DesktopLauncher), and thn 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.
production
Link copied to clipboard
rangedStrength
Link copied to clipboard
Sources
jvm source
Link copied to clipboard