High DPI on Windows: Support for high resolution screens

Automatically translated from English

At 4D, we take customer requests very seriously!

In previous meetings, customers showed great interest in supporting high-resolution displays, such as 4K displays, in Windows. Your wish has been fulfilled as we have added support for High DPI in 4D.

High DPI stands for High Dots Per Inch. It represents the pixel density; the higher the DPI, the higher the density of pixels. On 4K screens, the pixel density can be so high that displaying, as usual, would make all icons and controls extremely small. As such, Windows allows you to change the scale of text, icons, and controls. On 4K screens, it’s activated by default.

We first supported high DPI on Mac, and with v19R4, 4D is now fully compatible on Windows, too. The result is a better image quality, with a higher precision of pixels as shown in the image below:

Difference between a 4D launched without High DPI support (back)
and with High DPI support (front) when the scale is at 125%

 

There are still a few things you have to check for your applications to get the best display with High DPI:

  • If you are working on a structure created with an older version of 4D, you should activate the compatibility option “Use DirectWrite for text rendering in forms” to get the best text rendering.
  • Images and icons will be resized to fit the scale. You should check that you use SVG or high resolution pictures to avoid pixelated images.
  • If you use plugins manipulating the UI, be sure that they are compatible with High DPI. Check with plugins developers if they have a compatible version.

 

We hope that this change will increase the visual quality of your applications. Please feel free to share any comments with us on the official 4D forum.

Nicolas Brachfogel

• Product Owner & Senior Developer •

Nicolas Brachfogel joined 4D in 2017 as a Senior Developer (4D Server and networking). As Product Owner to manage the release of Apple Silicon, he's in charge of writing user stories and translating them into functional specifications, as well as making sure that feature implementations meet customer needs.

A graduate of the Institut Supérieur d'Informatique Appliquée (INSIA), Nicolas began his career as a software developer in 2001. Following several years coding in Java and C++, he went on to specialize in client-server development for video game companies. As a server developer/architect, he successfully worked on the server architectures of many games (Dofus Arena, Drakerz, Trivial Pursuit Go!).