Page 1 of 1
Re: How to fix text size issues (DPI)
Posted: Tue Jan 18, 2022 2:10 pm
by Bucky108
Per various posts here I changed the option in User Interface to enable high DPI support. This fixed the incorrect display of text in preview.
However if I open up a project on my Surface Pro machine that was originally created on a Dell laptop, a text box that used an Arial 12 point font on the Dell laptop still displayed as Arial 10 point on the Surface Pro in design mode. Yet when I preview the site the font is displayed correctly.
Is there another option or some other way to fix this?
Re: How to fix text size issues (DPI)
Posted: Tue Jan 18, 2022 2:19 pm
by Pablo
Did you use the same DPI settings for both computers?
Re: How to fix text size issues (DPI)
Posted: Tue Jan 18, 2022 2:20 pm
by BaconFries
This is most likely related to DPI settings please ensure that both machines are set to the same see the following:
viewtopic.php?f=10&t=85917
Re: How to fix text size issues (DPI)
Posted: Tue Jan 18, 2022 3:12 pm
by Bucky108
I think you identified the issue. When I went back to the Dell laptop and turned on the DPI setting it had the same effect changing the font in design to 10 point instead of 12.
So I'll just reset the font sizes on the original computer and that should do the trick .. thanks a lot
Re: How to fix text size issues (DPI)
Posted: Tue Jan 18, 2022 6:49 pm
by Bucky108
So now it's consistent on both computers in design mode.
I noticed that for the text box where I set font to be arial 11 point, when I look at the source code for the actual generated page it shows arial 15 point.
Is this normal?
Re: How to fix text size issues (DPI)
Posted: Tue Jan 18, 2022 7:01 pm
by BaconFries
Are you sure that it is showing 15pt and not 15px? as this is normal behaviour. Due to the text size you select is in points (pt) but the output will always be in pixels(px). See the following table for reference on pt to px and there use in the program

Re: How to fix text size issues (DPI)
Posted: Tue Jan 18, 2022 7:17 pm
by Bucky108
Yes you are right it's showing px and not pt .. my bad.
Thanks!
Re: How to fix text size issues (DPI)
Posted: Tue Jan 18, 2022 7:20 pm
by BaconFries
Yes you are right it's showing px and not pt .. my bad.
Not at all...this is standard behaviour