SpaceCadetPinball icon indicating copy to clipboard operation
SpaceCadetPinball copied to clipboard

[early|draft] Enable HiDPI support

Open ThatStella7922 opened this issue 3 years ago • 1 comments

This PR aims to enable HiDPI support. At first glance, it works, running on macOS 12.0.1 on M1 Max.

There are some issues that need to be fixed though:

  • [ ] Mouse positioning breaks
  • [ ] window scaling can be weird across monitors
  • [ ] If HiDPI, ImGui should automatically scale so its shown at a proper legible size without the user configuring it for 2x or whatever
  • [ ] Test on platforms other than macOS

These are things above my skill level (c++) for now, so I am going to leave this draft here just for others to see.

ThatStella7922 avatar Jun 17 '22 06:06 ThatStella7922

What are the benefits of adding DPI support for this game? To me, it seems like scaling by OS as non-DPI aware program should be good enough.

k4zmu2a avatar Jun 20 '22 07:06 k4zmu2a

Even if the patch makes menus text less blurry, they get really small (at least on Linux with hidpi)

kowalski7cc avatar Oct 10 '22 11:10 kowalski7cc