Skip to content
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

BUG/FTR: Screen DPI Not Handled #183

Open
proof88 opened this issue Dec 19, 2022 · 3 comments
Open

BUG/FTR: Screen DPI Not Handled #183

proof88 opened this issue Dec 19, 2022 · 3 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@proof88
Copy link
Owner

proof88 commented Dec 19, 2022

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 proof88 added bug Something isn't working enhancement New feature or request labels Dec 19, 2022
@proof88 proof88 added this to the Gameplay (Public Beta) milestone Dec 19, 2022
@proof88
Copy link
Owner Author

proof88 commented Jan 26, 2024

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:
ocornut/imgui#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
Copy link
Owner Author

proof88 commented Jul 12, 2024

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant