Microsoft HTML Help Executable HIDPI bug

  • Thread starter Thread starter 睿袁
  • Start date Start date

睿袁

Guest
Microsoft HTML Help Executable



In the HIDPI environment, the size of the font, as well as the size of the picture is confusing.


the origin manifest:



<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<!-- Copyright (c) Microsoft Corporation -->

<assembly

xmlns="urn:schemas-microsoft-com:asm.v1"

xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"

manifestVersion="1.0"

>

<assemblyIdentity

version="5.1.0.0"

processorArchitecture="amd64"

name="Microsoft.Windows.Help.HH"

type="win32"

/>

<description>Microsoft HTML Help Executable</description>



<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">

<security>

<requestedPrivileges>

<requestedExecutionLevel

level="asInvoker"

uiAccess="false"

/>

</requestedPrivileges>

</security>

</trustInfo>

<asmv3:application>

<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">

<dpiAware>true</dpiAware>

</asmv3:windowsSettings>

</asmv3:application>

</assembly>





wrong:



<asmv3:application>

<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">

<dpiAware>true</dpiAware>

</asmv3:windowsSettings>

</asmv3:application>



should be:


<asmv3:application>

<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2017/WindowsSettings">

<gdiScaling>true</gdiScaling>

<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/pm</dpiAware>

<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>

</asmv3:windowsSettings>

</asmv3:application>

Continue reading...
 
Back
Top