s25client icon indicating copy to clipboard operation
s25client copied to clipboard

[wish] some kind of hidpi support

Open lschneiderbauer opened this issue 8 years ago • 6 comments

Hey guys, on hidpi screens the text in the menus (in the main menu as well as ingame) is barely readable.

I don't expect you guys to introduce complete hidpi support for the game. But at least the font size and menu sizes could be made dpi-dependent so that you can read the text properly.

Just a thought. Thanks.

lschneiderbauer avatar Jul 29 '16 12:07 lschneiderbauer

Can't you just reduce the resolution? Can you post a screenshot of the problem (if possible)

Flamefire avatar Jul 29 '16 12:07 Flamefire

@Flamefire Yes, one can reduce the resolution. Apart from the usual inconveniencies (e.g. cursor moving way too fast then) that works. I suppose the graphics is not rendered "better" on higher resolutions anyway?

A screenshot: screenshot_20160729_145120

lschneiderbauer avatar Jul 29 '16 13:07 lschneiderbauer

Basically only the visible area is increased. I think dpi-independent menus/font is a lot of work as it requires rewriting large parts of the GUI code. If at all, this is something for an enthusiast coder familiar with such things. I'd leave this here as a reminder but put it on the back of the todo-list as you can simply decrease the resolution unless someone comes up with an easy solution to the coding stuff.

Flamefire avatar Jul 29 '16 13:07 Flamefire

The game scales automatically on the latest Windows 10, but on Linux it's tiny and unplayable.

RazrFalcon avatar Apr 17 '19 10:04 RazrFalcon

That is true, Windows 10 now scales most of the text and buttons in the RTTR main menu and addon settings. However, Windows 10 does not upscale the UI ingame. It would be very nice if there will be hidpi support for the ingame UI. The image below is ingame and the menus are in the left corner below. Thank you for reading and it would be amazing if this someday will be done. Have a nice day!

377964f5743590e9b9e27bee736c0cd1

Thobov avatar May 19 '20 07:05 Thobov

This is an important issue indeed. OpenRCT2 have a nice pixel scaler they offer in x0.25 steps, so you can set pixel scaling to: x1.0, x1.25, x1.5x, 1.75x, x2.0, etc. Really helps.

Richard-L avatar May 19 '20 12:05 Richard-L

I'd love it if people with HighDPI displays could give my PR (#1594) a spin and comment. It's almost ready for review, so I'd expect it to be fully functional at this stage.

Edit: I just rebased and introduced a minor error that only impacts the tests. Will fix it tomorrow.

falbrechtskirchinger avatar Jul 22 '23 19:07 falbrechtskirchinger