Page 1 of 1

Font size not matching when preview or publish.

Posted: Tue Jan 21, 2020 5:24 pm
by doctorroe
I have a simple text box inside a layout grid. Using (as a test to simplify things) ARIAL and font size 28. Looks great in DESIGNER but when I preiew / publish, the text is huge. Did an inspection of the text and it is being rendered in the preview as size 32. What is going on?

Re: Font size not matching when preview or publish.

Posted: Tue Jan 21, 2020 6:07 pm
by Pablo
Maybe you have enabled zooming in your browser?

Note that fonts will be published in pixels sizes. 28 points is 37 pixels.

Re: Font size not matching when preview or publish.

Posted: Tue Jan 21, 2020 6:34 pm
by BaconFries
See the following table for reference on pt to px
Image

Re: Font size not matching when preview or publish.

Posted: Tue Jan 21, 2020 6:37 pm
by doctorroe
Thanks for the fast reply. I want the web builder design page that shows the fonts in the correct sizee to match the published page. So I have set my text boxes for 28 points. I tthought it would render in 28 point on the screen but it renders as 37 as you said. No zoom enabled. When I do a CTRL - to somm out to 75% it looks good. SO is there no way to design in the mode that accurately represents the browser size in 100% zoom?

Re: Font size not matching when preview or publish.

Posted: Tue Jan 21, 2020 6:40 pm
by doctorroe
Let me rephrase .... I am in the Builder main page and typing a text string in a size that I want on the screen. SO I am hearing that I need to see a smaller size in the builder page to insure that it is the correct size when published?

Re: Font size not matching when preview or publish.

Posted: Tue Jan 21, 2020 6:48 pm
by Pablo
The font size in the workspace should be exactly the same in the browser.

Common reasons for the browser rendering different font sizes are:
- zoom is enabled in the browser
- zoom is enabled in the WWB
- your computer is scaling text based on the DPI.
See this related FAQ: https://www.wysiwygwebbuilder.com/forum ... 10&t=85917

Re: Font size not matching when preview or publish.

Posted: Tue Jan 21, 2020 7:15 pm
by doctorroe
PERFECT!!!!!!!!!! Woo Hoo !!! this fixed my issue !!

It was the DPI setting in the Builder not being turned on!

TTHank you very much !!!