proof88 / PRooFPS-dd

PRooFPS-dd
https://www.facebook.com/whiskhyll
GNU General Public License v3.0
4 stars 1 forks source link

BUG/FTR: Screen DPI Not Handled #183

Open proof88 opened 1 year ago

proof88 commented 1 year ago

On a test machine, in fullscreen mode, the created window was bigger than the screen. Turned out that DPI was set to 125%, this caused the issue. Changing it back to 100% was a good workaround, however for people using any value other than 100%, this problem should be solved. This need to be studied, I dont know how this should work.

proof88 commented 10 months ago

First I will add GUI with Dear ImGui to the game. And than later I will later deal with the DPI issue. Dear ImGui also handles it nowadays, this is an older thread: https://github.com/ocornut/imgui/issues/1676

https://github.com/ocornut/imgui/blob/master/docs/FAQ.md#q-how-should-i-handle-dpi-in-my-application

Will need to be tested with multiple attached displays with different DPIs.

proof88 commented 4 months ago

Dear ImGui has been added to PURE and to the game in some recent version. Note that during my research of changing font size (which at the moment is not supported, different size font needs to be built separately), I also found DPI mentioned in the following tickets, so these are additional read materials to the previous comment: