Vista/7: Possible to DPI lie, but without the scaling?

0

2

In Windows Vista and Windows 7, it is possible to lie to applications about what the current horizontal and vertical DPI setting is.

Background: The "normal" setting on Windows is 96dpi. Most applications do not handle the user having a preference different from the developer's preference. Starting with with Windows Vista, Microsoft worked around the buggy applications, and decide to lie to them - but scale them up graphically.

So Windows already does have a mechanism to lie to an application about what the current DPI setting is; always returning 96. Windows then using the video card to scale the final composited window up to the appropriate size.

i have an application that thinks it can handle high-dpi mode, but really it cannot. So i want to Windows to lie to this app. But at the same time i use the app all day, typing in screenfuls of text. The scaling applied by the desktop compositer leaves the text fuzzier, and unpleasant to read.

Is it possible to lie to an application about the DPI setting, but not have dpi scaling applied?

See also

Ian Boyd

Posted 2010-08-31T17:47:03.047

Reputation: 18 244

Answers

2

i asked Chris Jackson, the AppCompat guy. He said:

We don’t have such an ability, the scaled mode is what we have to handle those situations. Yes, there clearly are some things that are suboptimal about how we do that (I hate the fuzzies too), but it’s hard to get a second fix approved which technically solves the same thing since that means that engineer isn’t doing something else to make the world a better place.

So, Chris, if you ever join SuperUser - you can get credit for your answer.

Ian Boyd

Posted 2010-08-31T17:47:03.047

Reputation: 18 244

-1

Run the app in a virtual machine. The virtual machine OS does not have to have the same DPI setting as the host OS.

Mark Ransom

Posted 2010-08-31T17:47:03.047

Reputation: 2 010

Virtual PC is limited to the resolution of the Tseng Labs ET6000 video card (or whatever it was). Windows XP Mode will change the resolution of the virtual computer to machine the window that the virtual machine runs in. – Ian Boyd – 2010-09-30T23:14:59.547

@Ian, Virtual PC and XP mode are hardly the only virtual options available under Windows. – Mark Ransom – 2010-10-05T02:54:25.443