Page 1 of 3
Display settings and font size
Posted: Thu Jul 30, 2020 4:06 pm
by 16587426
Delphi 10.4; TeeChart Pro v 2020.30.200525 32 bit
I have a simple demo (attached) that shows a problem that we are having in our application: when someone increases the Display setting font size from 100% to 200%, the font size in the charts increase 300%.
Here are two screenshots of what it looks like with the 100% font on the left and the 300% font on the right. I measured the height of the bracket on the label at the top and it goes from 12 pixes high at 100% to 21 pixels high at 200%, while the mark text in the chart goes from 9 pixels height to 32 pixels heigh.
Is there something we are doing incorrectly?
Thank you,
Ed Dressel
Re: Display settings and font size
Posted: Sat Aug 01, 2020 5:44 pm
by 16588751
I wonder if this issue is related to the 'TChartPageNavigator and High DP' problem discussed earlier. In the chart I showed, the titles and axes overlap when the chart is displayed in a 175% scaled up display. This seems to be caused by the very large scaled up chart font sizes - much larger that all other scaled up fonts on other grids etc in the application. There seem to be certain similarities here between the two issues.
Re: Display settings and font size
Posted: Mon Aug 03, 2020 9:49 am
by Christopher
Hello Ed,
Delphi 10.2 Update 3 on Windows 10 v.1903 using TeeChart Pro v2020.30.200525 32bit VCL
I'm not sure if I'm doing this right - I compile your project in release mode, then I change the display font size like this:
- ApplicationFrameHost_2020-08-03_11-45-17.png (153.74 KiB) Viewed 41429 times
Then I run the exe and get this:
- explorer_2020-08-03_11-41-17.png (96.14 KiB) Viewed 41429 times
Could you please confirm or otherwise correct me on whether I'm doing this right?
Re: Display settings and font size
Posted: Mon Aug 03, 2020 2:07 pm
by 16587426
That is similar to what I am doing, but I am using Delphi 10.4. Did you try that?
Re: Display settings and font size
Posted: Mon Aug 03, 2020 3:38 pm
by Christopher
EdDressel wrote: ↑Mon Aug 03, 2020 2:07 pm
That is similar to what I am doing, but I am using Delphi 10.4. Did you try that?
No, I'm afraid I didn't - I don't usually work on the Delphi side of things and only have access to Delphi 10.2 Update 3 at the moment. I think I might be able to get hold of a more up-to-date version of Delphi next week.
Re: Display settings and font size
Posted: Tue Aug 04, 2020 9:47 am
by Christopher
Hello Ed,
One thing I thought we could try in the meantime is exchange *.exes - I send you the Release build I create here to see if it behaves the same at your end, and you send me yours. In this way we should be able to determine if it's the build version of Delphi that's at issue or not.
Here's mine:
http://www.steema.com/files/public/support/Win32.zip
Re: Display settings and font size
Posted: Tue Aug 04, 2020 7:29 pm
by 16587426
Good thinking.
I am off site but have my laptop with a high-density display--I ran both programs: my compiled program reproduces the problem, your compiled program does not have the problem.
Ed Dressel
Re: Display settings and font size
Posted: Wed Aug 05, 2020 2:19 pm
by Christopher
Hello Ed,
right, in which case I've added this issue to our issue tracker with
id=2364, which means we will look at a fix to it before the next release.
Re: Display settings and font size
Posted: Wed Aug 05, 2020 10:24 pm
by 16587426
Thank you. FYI--for my company, this is a very pressing issue as it has compromised my software on a lot of systems.
Re: Display settings and font size
Posted: Thu Aug 06, 2020 10:57 am
by 16588751
Please don't forget my issue 'TChartPageNavigator and High DP' problem discussed earlier. This issue looks very similar to mine. Irrespective of the font size issue, the navigator buttons are not scaled up at 175% - as shown in my issue. It just looks as though TChart doesn't scale up properly at the moment.
Andrew
Re: Display settings and font size
Posted: Fri Aug 07, 2020 3:44 pm
by Christopher
Ed,
just to let you know that Andrew ran the demo you posted at the beginning of this thread using Delphi 10.4 with all the updates, and it seems that it worked okay for him with increased DPI, as he mentions
here.
Re: Display settings and font size
Posted: Sat Aug 08, 2020 8:55 am
by 16588751
Well, I tested at W10 Pro (with latest updates) Display Settings>Scale and Layout>175%. It looks as though Ed's customers may be using a different method to increase Font size only? I can't actually find the method he shows in his message. So I'm not sure my results are relevant to him or not.
Andrew
Re: Display settings and font size
Posted: Sat Aug 08, 2020 5:01 pm
by 16588751
Well, as described in my 'TChartPageNavigator and High DPI' post, my problem was having the wrong settings in the Chart>Axis properties. Ok for 100% scaling but not for 175% or greater. Clearly different to this issue. Apologies for the 'red herring'.
Andrew
Re: Display settings and font size
Posted: Thu Aug 13, 2020 2:39 pm
by 16587426
Chris:
I can reproduce the problem and can even see in Andrew's image (see the font sizes on the tab and the chart are different, and I should not him posting in this thread for you to focus on his thread is a bit frustrating).
This is a major problem with my app is real and makes the charts unusable. Here is an image from my app at 200%:
That is compiled with 10.3.
I spent the time and included a demo--did you even try it?
Ed Dressel
Re: Display settings and font size
Posted: Thu Aug 13, 2020 2:59 pm
by Christopher
Hello Ed,
unless I'm mistaken, which of course I could be, I tried the app you posted and specified my results in
this post of mine - in
this post of yours you said that the exe I compiled on my machine using 10.2.3 worked okay for you, which prompted me to add an issue to our tracker with
id=2364.
Do you see this as a fair summary of the situation so far?