emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 71f1139: Declare Emacs on MS-Windows to be DPI-awar


From: Eli Zaretskii
Subject: [Emacs-diffs] master 71f1139: Declare Emacs on MS-Windows to be DPI-aware
Date: Sat, 30 May 2015 10:31:18 +0000

branch: master
commit 71f1139cf97e805f8e610dc477f2b90f0d8d4bee
Author: Vitaly Takmazov <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Declare Emacs on MS-Windows to be DPI-aware
    
    * nt/emacs-x86.manifest (asmv3:windowsSettings): Add dpiAware.
    * nt/emacs-x64.manifest (asmv3:windowsSettings): Add dpiAware.
    This avoids Windows entering compatibility mode for Emacs,
    which causes fonts to look less nice.
    
    Copyright-paperwork-exempt: yes
---
 nt/emacs-x64.manifest |    7 ++++++-
 nt/emacs-x86.manifest |    7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/nt/emacs-x64.manifest b/nt/emacs-x64.manifest
index 5434e29..3cf56dd 100644
--- a/nt/emacs-x64.manifest
+++ b/nt/emacs-x64.manifest
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" 
xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
   <dependency>
     <dependentAssembly>
       <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls"
@@ -30,4 +30,9 @@
          <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
       </application> 
     </compatibility>
+  <asmv3:application>
+    <asmv3:windowsSettings 
xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings";>
+      <dpiAware>true</dpiAware>
+    </asmv3:windowsSettings>
+  </asmv3:application>
 </assembly>
diff --git a/nt/emacs-x86.manifest b/nt/emacs-x86.manifest
index 7f09c56..d7053be 100644
--- a/nt/emacs-x86.manifest
+++ b/nt/emacs-x86.manifest
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" 
xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
   <dependency>
     <dependentAssembly>
       <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls"
@@ -30,4 +30,9 @@
         <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
       </application> 
     </compatibility>
+  <asmv3:application>
+    <asmv3:windowsSettings 
xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings";>
+      <dpiAware>true</dpiAware>
+    </asmv3:windowsSettings>
+  </asmv3:application>
 </assembly>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]