Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reenable DPI scaling in Windows 7 #890

Closed
mintty opened this issue Jul 7, 2019 · 1 comment
Closed

Reenable DPI scaling in Windows 7 #890

mintty opened this issue Jul 7, 2019 · 1 comment

Comments

@mintty
Copy link
Owner

mintty commented Jul 7, 2019

As reported under #352, when scaling the display to high DPI values in Windows 7, font rendering will result in blurred display.
The background is apparently that before mintty 2.2.1, the following section in the "manifest" (file res.mft) caused Windows to handle font DPI scaling smoothly:

  <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>

When #470 added per-monitor DPI support for Windows 10 (release 2.2.1), this section had to be removed because the Windows API at that time would not work in coexistence with that configuration.
Later, #774 added DPI awareness mode V2. Unlike V1, this mode appears to work also with the above configuration, so it shall be reintroduced to mintty.

This enables proper DPI scaling again in Windows 7; the drawback is that proper DPI scaling will not work again in earlier Windows 10 versions (that do not support V2).

@mintty
Copy link
Owner Author

mintty commented Jul 13, 2019

Released 3.0.2.

@mintty mintty closed this as completed Jul 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant