Change manifest files to declare Windows GUI apps to be "DPI-aware", that is,
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Fri, 25 Sep 2009 23:32:14 +0000 (23:32 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Fri, 25 Sep 2009 23:32:14 +0000 (23:32 +0000)
not fazed by being displayed at other than 96DPI; testing on Vista at a range
of DPIs indicates that we cope (with the minor and inevitable exception of the
drag-list control).
This stops pixel scaling and hence fuzzy display on high-resolution displays.
(Hope this is last disastrous than my last set of manifest tweaks! --
<http://support.fogcreek.com/default.asp?copilot.6.26840.1> suggests that this
is an OK thing to do.)

git-svn-id: svn://svn.tartarus.org/sgt/putty@8661 cda61777-01e9-0310-a592-d414129be87e

windows/pageant.mft
windows/putty.mft
windows/puttygen.mft

index 94458ab..5a1b49c 100644 (file)
@@ -1,7 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<!-- This is present purely to make Visual Styles in XP work better.
-     See 20020104174954.A12067@imsa.edu.
-     Do not attempt to do anything clever with it, as some versions of
+<!-- Do not attempt to do anything clever with this file, as some versions of
      Windows are very sensitive to the exact format.
      Hence, some facts below are fibs. -->
 <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
              processorArchitecture="x86"/> 
    </dependentAssembly>
    </dependency>
+   <!-- Declare us to be "DPI-aware". -->
+   <asmv3:application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
+     <asmv3:windowsSettings
+         xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
+       <dpiAware>true</dpiAware>
+     </asmv3:windowsSettings>
+   </asmv3:application>
 </assembly>
index fa05ab8..9fa7792 100644 (file)
@@ -1,7 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<!-- This is present purely to make Visual Styles in XP work better.
-     See 20020104174954.A12067@imsa.edu.
-     Do not attempt to do anything clever with it, as some versions of
+<!-- Do not attempt to do anything clever with this file, as some versions of
      Windows are very sensitive to the exact format.
      Hence, some facts below are fibs. -->
 <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
              processorArchitecture="x86"/> 
    </dependentAssembly>
    </dependency>
+   <!-- Declare us to be "DPI-aware". -->
+   <asmv3:application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
+     <asmv3:windowsSettings
+         xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
+       <dpiAware>true</dpiAware>
+     </asmv3:windowsSettings>
+   </asmv3:application>
 </assembly>
index 10a394c..f425980 100644 (file)
@@ -1,7 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<!-- This is present purely to make Visual Styles in XP work better.
-     See 20020104174954.A12067@imsa.edu.
-     Do not attempt to do anything clever with it, as some versions of
+<!-- Do not attempt to do anything clever with this file, as some versions of
      Windows are very sensitive to the exact format.
      Hence, some facts below are fibs. -->
 <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
              processorArchitecture="x86"/> 
    </dependentAssembly>
    </dependency>
+   <!-- Declare us to be "DPI-aware". -->
+   <asmv3:application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
+     <asmv3:windowsSettings
+         xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
+       <dpiAware>true</dpiAware>
+     </asmv3:windowsSettings>
+   </asmv3:application>
 </assembly>