Loading...
  OR  Zero-K Name:    Password:   

How can I make fonts bigger on 4k resolution?

8 posts, 962 views
Post comment
Filter:    Player:  
sort
6 years ago
My new laptop is 3840x2160 res. And it now seems like that https://yadi.sk/i/UglExiyv3GyeT8
+0 / -0
6 years ago
Buy worse one.
+7 / -0


6 years ago
THrankindaled remove your LuaUI folder to get the default UI then take a screenshot with a constructor selected. You can't make the fonts bigger but maybe you can tell me which bits need to be larger for 4k.
+0 / -0
I love how everything gets smaller on high resolution so you can fit more UI on the same screen. Have you tried DPI scaling(An OS setting)? I wouldn't expect Spring to support that, but maybe you're lucky.

If you now change the UI so it looks nice on a 4k laptop it'll be completely oversized on a big 4k monitor, but maybe it could be made configurable?
+1 / -0
15 months ago
Recently I got a 4K screen and this is what it looks like:



Main issues with text and UI elements with my eyesight
1. In game chat. I barely saw chat on a FHD screen, won't see it on 4K.
2. Player List (lots of colors can blend into the map as well)
3. Unit Selected information (bottom). Wind power generation and commander information as well.
4. Icons of units under production and selection)
5. Unit ranges lines is rather thin
6. Elapsed game time

Most of the other UI elements do not dynamically generate new information and can be memorized or stared at for a bit of time. Would still be a barrier to entry for people who haven't committed common UI elements to memory though.

+0 / -0


15 months ago
In the main menu Settings -> Game -> Game Interface Scale. It claims to default as follows:

local realWidth, realHeight = Spring.Orig.GetViewSizes()
local defaultUiScale = math.floor(math.max(1, realHeight/950))*100
local maxUiScale = math.max(2, realWidth/1000)*100
local minUiScale = math.min(0.5, realWidth/4000)*100
return defaultUiScale, maxUiScale, minUiScale

Essentially, every 950 screen height you go above 950 steps you along 100%, 200%, 300% etc..

My guess is that the default is still working, but when you change your screen the value isn't updated. I think this is ok.
+1 / -0


15 months ago
Note that this doesn't actually change the fonts, it just renders the UI at a smaller size and then blows it up to fit your screen. There isn't anything stopping the UI scaling naturally to large screens. Someone with a large screen would just have to implement it.
+0 / -0
15 months ago
Ok that is fixed. Also found some additional stuff to change under settings -> hud panels

Thanks
+0 / -0