View Issue Details

IDProjectCategoryView StatusLast Update
0003284Dwarf FortressTechnical -- Renderingpublic2014-08-04 09:57
Reporterdb48x Assigned Touser6 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
PlatformPCOSWindowsOS Version7
Product Version0.31.13 
Summary0003284: DF automatically scaled by Windows Aero when the system dpi is greater than 100, results in everything going offscreen
DescriptionWindows 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 ReproduceControl Panel -> Display, choose 125% or 150%, then run DF.
TagsNo tags attached.

Activities

user6

2014-08-04 09:57

  ~0028288

Seems like more of a Windows config issue.

Issue History

Date Modified Username Field Change
2010-09-19 13:24 db48x New Issue
2014-08-04 09:57 user6 Note Added: 0028288
2014-08-04 09:57 user6 Status new => resolved
2014-08-04 09:57 user6 Resolution open => no change required
2014-08-04 09:57 user6 Assigned To => user6