Opened 10 years ago
Last modified 15 months ago
#2349 new enhancement
Add support for Hi-DPI displays — at Version 4
Reported by: | julian37 | Owned by: | |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Work In Progress |
Component: | Core engine | Keywords: | patch, review |
Cc: | Ilya Ryzhenkov, hal9000 | Patch: |
Description (last modified by )
It would be nice if 0 A.D. could take advantage of Hi-DPI displays, such as Apple's Retina displays.
As far as I can tell, this requires the following:
Upgrading to SDL2, which adds theSDL_WINDOW_ALLOW_HIGHDPI
flagEnsuring the GUI remains at the original size (i.e. magnifying it by 2x with respect to 3D graphics)
And the following are nice-to-haves:
- Doubling the resolution of the prerendered fonts for crisp text rendering
- Providing all bitmap graphics in double the resolution (seeing that 4K displays are on the horizon, perhaps new bitmaps graphics should be prepared at 4x the resolution)
I've attached a simple-minded patch for the first issue (SDL2 support) to ticket #2041, and I've prepared a patch to address issues 2 and 3 (scaled-up GUI and high-res fonts), will attach it shortly.
Change History (5)
comment:1 by , 10 years ago
Description: | modified (diff) |
---|
comment:2 by , 10 years ago
comment:4 by , 9 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
SDL2 support has been merged into SVN. It's not yet the default for OS X, but will be for A17 and this task can be worked on.