Custom fonts - failed to decode downloaded font

Posted 11 months ago by Danny

Post a topic
Answered
D
Danny

Hi,


I added some ttf fonts to fpd_fonts folder and also added them under custom fonts in fpd font settings but when I load the fpd product page (any product), I am getting in the console an error saying "failed to decode downloaded font" for all custom fonts.

What can be the issue?


P.s: in previous versions of the plugin, everything worked perfectly, only after updating to last version the problem started.

0 Votes

FPD Helper

FPD Helper posted 10 months ago Best Answer

Hello Danny, 


The error message "failed to decode downloaded font" typically indicates an issue with the format or encoding of the custom TrueType Fonts (TTF) you've added to the FPD. Can you please check that the TTF font files you added to the fpd_fonts folder are not corrupted. Try opening them with a font viewer or editor to confirm that they are valid TTF fonts. Additionally, make sure that the TTF font files are in a format supported by web browsers.


0 Votes


2 Comments

Sorted by
D

Danny posted 10 months ago

As you said, they are TTF fonts and they work fine when opening them with font viewer. By the way, this issue wasn't occurring in older FPD versions. Anyway, I will try to search and download them again.

Thank you.

0 Votes

FPD Helper

FPD Helper posted 10 months ago Answer

Hello Danny, 


The error message "failed to decode downloaded font" typically indicates an issue with the format or encoding of the custom TrueType Fonts (TTF) you've added to the FPD. Can you please check that the TTF font files you added to the fpd_fonts folder are not corrupted. Try opening them with a font viewer or editor to confirm that they are valid TTF fonts. Additionally, make sure that the TTF font files are in a format supported by web browsers.


0 Votes

Login or Sign up to post a comment