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

Auto-scale fonts in full-screen mode #249

Open
Mikolaj opened this issue Apr 18, 2021 · 0 comments
Open

Auto-scale fonts in full-screen mode #249

Mikolaj opened this issue Apr 18, 2021 · 0 comments

Comments

@Mikolaj
Copy link
Member

Mikolaj commented Apr 18, 2021

Replace allFontsScale in config file with an argument to the NotFullscreen constructor only. Deduce the scale otherwise, that is, in fullscreen mode.

The full screen resolution can probably be queried using some SDL function. There may be a single subtlety, namely some auto-scaling in high or low DPI mode or Retina displays in OSX. If there is a choice, the game should prefer to scale on its own to the full resolution instead of being auto-scaled by OS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant