mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-24 03:53:12 -04:00
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:
parent
302004e3aa
commit
4c637374a1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user