diff options
| author | Vitaly Takmazov | 2015-05-30 13:28:53 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2015-05-30 13:28:53 +0300 |
| commit | 71f1139cf97e805f8e610dc477f2b90f0d8d4bee (patch) | |
| tree | 20df65ae5595be24a8e6ef1e92f6b751431b3168 | |
| parent | fdf31e5d6e79047fd0c0a30a5fb64dbc033f3169 (diff) | |
| download | emacs-71f1139cf97e805f8e610dc477f2b90f0d8d4bee.tar.gz emacs-71f1139cf97e805f8e610dc477f2b90f0d8d4bee.zip | |
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
| -rw-r--r-- | nt/emacs-x64.manifest | 7 | ||||
| -rw-r--r-- | 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 5434e29377a..3cf56dd975d 100644 --- a/nt/emacs-x64.manifest +++ b/nt/emacs-x64.manifest | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> | 1 | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
| 2 | <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> | 2 | <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"> |
| 3 | <dependency> | 3 | <dependency> |
| 4 | <dependentAssembly> | 4 | <dependentAssembly> |
| 5 | <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" | 5 | <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" |
| @@ -30,4 +30,9 @@ | |||
| 30 | <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/> | 30 | <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/> |
| 31 | </application> | 31 | </application> |
| 32 | </compatibility> | 32 | </compatibility> |
| 33 | <asmv3:application> | ||
| 34 | <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"> | ||
| 35 | <dpiAware>true</dpiAware> | ||
| 36 | </asmv3:windowsSettings> | ||
| 37 | </asmv3:application> | ||
| 33 | </assembly> | 38 | </assembly> |
diff --git a/nt/emacs-x86.manifest b/nt/emacs-x86.manifest index 7f09c56f9dd..d7053be07ec 100644 --- a/nt/emacs-x86.manifest +++ b/nt/emacs-x86.manifest | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> | 1 | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
| 2 | <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> | 2 | <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"> |
| 3 | <dependency> | 3 | <dependency> |
| 4 | <dependentAssembly> | 4 | <dependentAssembly> |
| 5 | <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" | 5 | <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" |
| @@ -30,4 +30,9 @@ | |||
| 30 | <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/> | 30 | <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/> |
| 31 | </application> | 31 | </application> |
| 32 | </compatibility> | 32 | </compatibility> |
| 33 | <asmv3:application> | ||
| 34 | <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"> | ||
| 35 | <dpiAware>true</dpiAware> | ||
| 36 | </asmv3:windowsSettings> | ||
| 37 | </asmv3:application> | ||
| 33 | </assembly> | 38 | </assembly> |