New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minimap too small on Retina displays #8998
Comments
@ldpl was looking into this recently citymania-org/cmclient@6f8e0c1 I've not actually tried the above myself. |
I don't have a retina display (or a Mac) but I would like a bigger smallmap too, I usually play 64x64 and I have the same problem shown on the second image, so here is my +1 And maybe I could even PR it by myself if I'll find some will power to do it. |
Interesting, I thought that this was an artifact of the doubled up resolution. I used to play a lot a couple of years ago, and from what I remember also very small maps, however I could not remember seeing the tiny minimap before. So just pixel-doubling for highdpi systems does not seem to be the solution to this issue. Just to be sure (since "retina display" is an Apple marketing term): @Wolfolo, what's your resolution and panel size? It's not one of those 4k displays, is it? |
The good old 1920x1080 iirc set as windowed matching desktop resolution, so nothing so weird. |
But I did. I found this "CityMania" thing some weeks ago. Not knowing at all what "CityMania" is supposed to be - the website doesn't tell much - but it said "100% compatible with OpenTTD" so I downloaded it and used it for a multiplayer match with a friend. a) Yes. The zoom levels for the minimap are far better than in OpenTTD. |
Have you reported that crash anywhere? Like https://github.com/citymania-org/cmclient/issues for example. |
Any progress on getting a fix for this? The issue is still present on up-to-date versions of macOS for OpenTTD 12.1. |
Can someone try this on 13.1? We added interface scaling in 13.0 and I don't have a Mac to test if that resolved this. |
Unfortunately it seems like the issue is still there with OpenTTD 13.1 (macOS 13.3.1 Ventura). |
Version of OpenTTD
1.11.0
Expected result
I expect to be able to zoom into the minimap at least one, better two more steps.
Actual result
The minimap is too small on retina screens even when fully zoomed in
Steps to reproduce
Run OpenTTD on a Mac with Retina display, open the minimap, zoom in all the way.
System and Settings
The above settings give me a nice and playable OpenTTD experience. Viewport zoom levels and UI size are perfect:
The minimap is not, however. This is a 128x256 map:
I think this configuration could use at least one, if not two more levels to zoom in. I briefly looked into the source code and noticed that as zoom levels are "increase to zoom out", there is no easy way for me to set a zoom level below 1. Fractional zoom levels seem to need a bunch of work. Maybe the minimap scaling should be always blown up to 2x or 4x size depending on the UI element size setting? The following is a 4096x4096 map zoomed out all the way, so maybe there should be one or two additional zoom-out levels added as well then:
The text was updated successfully, but these errors were encountered: