The new GDI scaling introduced in Windows 10 Creators update is quite amazing. (https://blogs.windows.com/buildingapps/2017/04/04/high-dpi-scaling-improvements-desktop-applications-windows-10-creators-update/). Just try it on the Delphi IDE if you work on a High DPI monitor and enjoy the difference. You need to right-click on the executable or the shortcut, select Properties and under compatibility check "Override high DPI scaling behavior" and select System (Enhanced). You can also make your DPI unaware Delphi apps to use GDI scaling by default by adding a custom manifest that includes the following:

The new GDI scaling introduced in Windows 10 Creators update is quite amazing. (https://blogs.windows.com/buildingapps/2017/04/04/high-dpi-scaling-improvements-desktop-applications-windows-10-creators-update/). Just try it on the Delphi IDE if you work on a High DPI monitor and enjoy the difference. You need to right-click on the executable or the shortcut, select Properties and under compatibility check "Override high DPI scaling behavior" and select System (Enhanced). You can also make your DPI unaware Delphi apps to use GDI scaling by default by adding a custom manifest that includes the following:

http://schemas.microsoft.com/SMI/2017/WindowsSettings">
true


It is almost as good as DPI awareness without the conversion effort.

https://blogs.windows.com/buildingapps/2017/04/04/high-dpi-scaling-improvements-desktop-applications-windows-10-creators-update/

Comments

  1. I know how to work with manifest files (see https://www.finalbuilder.com/resources/blogs/postid/753/windows-manifest-files) - I tried using the gdiScaling setting in my manifest file, however it made no difference to how it looks on a high dpi monitor (runnng creators fall update).

    ReplyDelete
  2. It just work in some parts of the Delphi IDE 10.2.2. Some parts such as code editor still look blurred. But I tried it with Delphi 2007, and it worked like a charm.

    ReplyDelete

Post a Comment