-
Notifications
You must be signed in to change notification settings - Fork 181
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
SDL2 needs high-DPI/Retina support #18
Comments
With #61 fixed - is this still an issue? |
Yes, this has nothing to do with #61. Much deeper stuff. Essentially, it's the difference between fuzzy fonts (what we have) and sharp (what we would have with high-DPI support), on a high-DPI display. |
Would it be as easy as dosbox-staging/dosbox-staging@1a289f5 ? |
Sadly, it would not. |
Just create your SDL_Surface for the screen and SDL_Window outside pdcurses and scale the SDL_Surface by a whole number. You can also choose a filter method. |
Was looking at the code. If you are using TTF fonts, just set the env variable PDC_FONT_SIZE. Hidpi for bitmap fonts doesn't really make sense, you can scale without blurring though. Otherwise looks like font size can be set. Granted, there's no way it can change dynamically looking at a glance. |
This is a high priority for me.
The text was updated successfully, but these errors were encountered: