High DPI support (4k monitor support)

All about the development and use of SynthFont2
Elven Spellmaker
Posts: 31
Joined: Tue Mar 17, 2015 3:02 pm

High DPI support (4k monitor support)

Post by Elven Spellmaker » Mon Dec 09, 2019 1:33 pm

Hey Kenneth,

Long time no speak!

I'm not sure if this has been raised before, but, I've recently switched work and they've provided me with a laptop with a 4k monitor, and Synthfont doesn't handle DPI scaling very well at all!

I was wondering if this is something that could be looked into, I understand it's a huge can of worms to get into though.

Image

Elven Spellmaker
Posts: 31
Joined: Tue Mar 17, 2015 3:02 pm

Re: High DPI support (4k monitor support)

Post by Elven Spellmaker » Mon Dec 09, 2019 1:34 pm

Image

This is the dialogue to open files and it's tiny in the centre of the screen and really hard to use!

Admin
Site Admin
Posts: 471
Joined: Tue Mar 17, 2015 9:22 am

Re: High DPI support (4k monitor support)

Post by Admin » Thu Dec 12, 2019 6:56 am

That's interesting! Version 2.2.4.1 is compiled with "DPI Awareness" set to "Per Monitor v2" which according to Embarcadero/Idera should handle high DPI displays correctly. I will investigate and get back to you when I know more. Maybe a good idea would be for me to create a "dummy" program with various settings for the "DPI Awareness" variable.

Admin
Site Admin
Posts: 471
Joined: Tue Mar 17, 2015 9:22 am

Re: High DPI support (4k monitor support)

Post by Admin » Thu Dec 12, 2019 7:52 am

Here is the "dummy" program;
https://www.dropbox.com/s/wbdbdb182t362 ... 1.exe?dl=0
It contains a button which you can press to get the horizontal size of your display in pixels. The value is written into the box to the right. Nothing else happens.

How does this window look on your 4K monitor? As this is compiled with the "Per Monitor v2" value I expect it to work on any monitor.

Admin
Site Admin
Posts: 471
Joined: Tue Mar 17, 2015 9:22 am

Re: High DPI support (4k monitor support)

Post by Admin » Thu Dec 12, 2019 7:55 am

BTW, it is interesting to see in your image that the size in of the buttons is correctly scaled, but not the font. Or, actually, it can be the other way round as you say the the window is very small. Also, the file explorer related controls are not scaled at all or incorrectly, which I assume is a fault in their design. These are commercial controls from a third party, and I guess I need to file a complaint.

Elven Spellmaker
Posts: 31
Joined: Tue Mar 17, 2015 3:02 pm

Re: High DPI support (4k monitor support)

Post by Elven Spellmaker » Fri Dec 13, 2019 5:14 pm

The value I get is always 3840, even if I move it to a monitor that isn't 4k (1440p)

Elven Spellmaker
Posts: 31
Joined: Tue Mar 17, 2015 3:02 pm

Re: High DPI support (4k monitor support)

Post by Elven Spellmaker » Fri Dec 13, 2019 5:16 pm

Also, this is what the Splash Screen looks like: Image

Elven Spellmaker
Posts: 31
Joined: Tue Mar 17, 2015 3:02 pm

Re: High DPI support (4k monitor support)

Post by Elven Spellmaker » Fri Dec 13, 2019 5:18 pm

It looks better on the 1440p external monitors but not 100%.

Basically my set-up at work is:

2 3
1

Where 2 and 3 are two 27" 1440p screens @ 100% scaling
Monitor 1 is the laptop monitor, a 15" 4k screen @ 250% scaling

Admin
Site Admin
Posts: 471
Joined: Tue Mar 17, 2015 9:22 am

Re: High DPI support (4k monitor support)

Post by Admin » Sat Dec 14, 2019 8:03 am

The bitmap in the splash screen is obviously not scaled correctly while the text is (correct size and place).

Now, back to the test dummy I sent you: I'm curious to learn how it looks on a 4K screen. Screen shot please!
The X resolution value should of course not be the same, but that is for now of less importance.

Elven Spellmaker
Posts: 31
Joined: Tue Mar 17, 2015 3:02 pm

Re: High DPI support (4k monitor support)

Post by Elven Spellmaker » Mon Dec 16, 2019 10:42 am

Image

Here is the DPI Aware programme next to the playback box for example

Post Reply