Developer forum

Forum » Rapido » Font Preview Not Working

Font Preview Not Working

Richard D. Lee
Richard D. Lee
Reply

Hi All,

Inside of the Font Family edit screen, I can see the name of the font stylized accordingly but the Lorem Ipsum text below each font name is not. I flipped through multiple pages and searched for "hand" to see if any of those fonts work but they do not.

I've tested this in Chrome and Firefox and the results are the same.

Richard


Replies

 
Nicolai Pedersen
Reply

Screendump?

Sounds like your computer has gotten the Corona virus since you also have that other problem. Or a faulty installation maybe?

See any 500s or 404s in your browser dev tool?

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Nicolai,

 

I can help here. It's blocked due to mixed content https://www.screencast.com/t/2qcKMyV5nrX

 

It looks like DW's backend is always using http:// instead of taking the protocol dynamically. This means that all websites with https are not seeing the fonts properly.

 

Best Regards,

Nuno Aguiar

 
Nicolai Pedersen
Reply

Hi Nuno

Thanks. Seems like google font API which is used to get the list of fonts, returns font URLs using http for some reason. See dump.

I'll see if we can manipulate the url in the preview window. You can probably add a Content-Security-Policy-Report-Only header to /admin in web.config to avoid the issue for now.

BR Nicolai

Capture.JPG
 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Nicolai,

 

That is odd indeed they'd do something like that. We'll use the workaround to avoid the issue.

 

Thanks as well,

Nuno

 

You must be logged in to post in the forum