Jump to content

Featured Replies

Posted

Please allow to upload font files (woff2, woff, otf, ttf...) in Media as there is currently no way to upload custom font files. These are not unsafe.

Edited by WebCMS

  • 2 weeks later...
  • Community Expert
  • Management

Yeah, we can do this. I revamped the resources are for themes in v5 to allow font uploads which is probably a better place for them.

  • 1 year later...
  • Author

Please implement this change in v4 of allowing to upload woff2 files as our workarounds to upload font files with different file extensions keep failing to render after a while on CiC. So far, we've tried using uploaded our woff2 file with txt, css, ico, svg extensions which worked for a while and then stopped rendering.

If you have an array of allowed file types to upload in your code, it could be a matter of adding "woff2" to the array (1 line) and the upload logic would work as usual and the font files would render as expected without using any workarounds.

Or, if you could RENAME any of our already uploaded *.woff2.* files to *.woff2 extension in the Media directory for us on CiC, that would work too as we can reference the actual woff2 font file in our CSS.

Recently Browsing 0

  • No registered users viewing this page.