View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003284 | Dwarf Fortress | Technical -- Rendering | public | 2010-09-19 13:24 | 2014-08-04 09:57 |
Reporter | db48x | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | PC | OS | Windows | OS Version | 7 |
Product Version | 0.31.13 | ||||
Summary | 0003284: DF automatically scaled by Windows Aero when the system dpi is greater than 100, results in everything going offscreen | ||||
Description | Windows 7 Aero has a new feature that automatically scales application windows to larger sizes in order to match the user's dpi settings. With Large Fonts or Extra Large Fonts turned on, this results in DF's fullscreen window being resized to larger than the screen, which means that all the menus are almost entirely offscreen. The workaround is to change the compatibility settings to turn this off. There are several ways to fix it. The best option is to add a setting to your application manifest (the one msvc looks for at compile time) that tells windows that your application will handle this itself. The expectation is that you will read the user's dpi setting and scale all the text and other items that you display to match, but since that would involve scaling bitmapped tiles by odd percentages (125%, 150%, etc), I don't think anyone would complain much if you simply didn't bother. Alternatively, you could simply account for the scaling factor and work with a window that doesn't match the screen resolution, letting windows scale the window up to match. That would be less desireable. This probably doesn't affect all graphics modes, because some of them (such as FRAME_BUFFER) turn off Aero for you. | ||||
Steps To Reproduce | Control Panel -> Display, choose 125% or 150%, then run DF. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2010-09-19 13:24 | db48x | New Issue | |
2014-08-04 09:57 |
|
Note Added: 0028288 | |
2014-08-04 09:57 |
|
Status | new => resolved |
2014-08-04 09:57 |
|
Resolution | open => no change required |
2014-08-04 09:57 |
|
Assigned To | => user6 |