]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Change manifest files to declare Windows GUI apps to be "DPI-aware", that is,
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Fri, 25 Sep 2009 23:32:14 +0000 (23:32 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
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.)

[originally from svn r8661]

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

index 94458ab4f0868e05e0f8bdcf8c761ef1ab7ff541..5a1b49ce62bd9c1dc952860793d0188cb5ef5778 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 fa05ab802a03fb3cca7d9bfd328abcb9300d5258..9fa7792e3f7c8d51bbac86f0c2d0a48fe7a2fc1a 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 10a394ca5cf801ad88586e6a84391c1c480800fa..f425980f26e4be33f50e9decfd6f9756ab342c05 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>