Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Cannot change font in HTML5 output

Avatar

Level 4

Hi!

I'm not aware what I do wrong. My form renders in HTML5 using default "Myriad Pro" font despite font I specify in design. I have checked XML source of the form and saw that "Myriad Pro" was never user. I'd like to use Arial and not Myriad that is not present on majority of client browsers.

Do you have an idea?

Thanks,

--- Jaroslav

1 Accepted Solution

Avatar

Correct answer by
Employee

HTML5 form rendition requires that the font you used at design time should be present on the device/machine where you are opening the HTML5 form. If that font is missing from that device, a fallback font will be used by client browser which might be Myriad Pro in your case.

So make sure that the font you used while designing is present both on Server as well as client machine/device from where HTML5 form is opened.

-Deepak

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

HTML5 form rendition requires that the font you used at design time should be present on the device/machine where you are opening the HTML5 form. If that font is missing from that device, a fallback font will be used by client browser which might be Myriad Pro in your case.

So make sure that the font you used while designing is present both on Server as well as client machine/device from where HTML5 form is opened.

-Deepak

Avatar

Level 4

Thank you, Deepak. I finally managed it to work, client was happy with the demo.

--- Jaroslav