To try out a custom DPI setting, choose Custom
Setting. You can then specify a specific percentage value. (For example, 175% scales the
standard 96 dpi to 168 dpi.)
Here??™s what to do to change system DPI in Windows Vista:
1. Right-click your desktop and choose Personalize.
2. In the list of links on the left, choose Adjust Font Size (DPI).
3. Choose between 96 or 120 dpi. Or click Custom DPI to use a custom DPI setting. You
can then specify a percentage value, as shown in Figure 1-1. (For example, 175% scales
the standard 96 dpi to 168 dpi.) In addition, when using a custom DPI setting, you have
an option named Use Windows XP Style DPI Scaling, which is described in the sidebar
???DPI Scaling with Windows Vista.???
CHAPTER 1 n INTRODUCING WPF 9
Figure 1-1. Changing the system DPI
DPI SCALING WITH WINDOWS VISTA
Because older applications are notoriously lacking in their support for high DPI settings, Windows Vista uses a
new technique: bitmap scaling.
If you run an application that doesn??™t appear to support high DPI settings, Windows Vista resizes the
contents of the window to the desired DPI, just as if it were an image. The advantage is that the application
still believes it??™s running at the standard 96 dpi. Windows seamlessly translates input (such as mouse clicks)
and routes them to the right place in the application??™s ???real??? coordinate system.
Pages:
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90