Use custom font in web application (campaign classic)

imms92896578

06-03-2018

Hello,

I would like to use a custom font in a web application. When trying to upload it as a file resource (using the console), I'm receiving an error message "Downloaded file 'xxx.ttf' is not authorized". I'm able to upload any other type of file. !

The server config does not restrict the upload to any file type.

Any idea what the problem could be?

Is there another way to use custom fonts?

Thank you in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Jean-Serge_Biro

MVP

07-03-2018

Hi imms,

Please may you check if the extension .ttf has been excluded by your hosting center:

Server side configurations
(section: "Limiting uploadable files", parameter uploadWhiteList).

Otherwise, you should be able to upload.

Moreover, if you don't need to upload manually through the AC resources file manager, you can declare the font in your css file of your webApp, and it will be automatically uploaded (but renamed with MD5 hash name).

Last solution, you can upload directly to the server if you have access to it, put it in res folder.

Regards
J-Serge

Answers (0)