From 15e23de18d9144011596a091a1f03cdf703365f4 Mon Sep 17 00:00:00 2001
From: Lalit Shankar Chowdhury <lalitshankarch@gmail.com>
Date: Fri, 17 May 2024 14:31:38 +0530
Subject: [PATCH] Fix HiDPI text rendering on Windows

---
 win/Audacity.exe.manifest | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/win/Audacity.exe.manifest b/win/Audacity.exe.manifest
index 0c6505188a..d823a3206d 100644
--- a/win/Audacity.exe.manifest
+++ b/win/Audacity.exe.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">
   <assemblyIdentity
       version="2.3.0.0"
       processorArchitecture="x86"
@@ -19,4 +19,9 @@
       <assemblyIdentity type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*' />
     </dependentAssembly>
   </dependency>
+  <asmv3:application>
+    <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2017/WindowsSettings">
+      <gdiScaling>true</gdiScaling>
+    </asmv3:windowsSettings>
+  </asmv3:application>
 </assembly>
-- 
GitLab