In those cases, it is best to simply make CDN for Joomla! ignore those files.
For instance, Facebook scripts often break when they are not run from the website itself. So if the script name is facebook.js, just place
facebook.js in the Ignore Files field.
Please see the full tutorial for that here:
How to use Amazon CloudFront in Joomla!
Try adding this to your .htaccess file:
Header set Access-Control-Allow-Origin "*"
If that doesn't work, you can make CDN for Joomla! ignore your @fontface css files.
Place all your @font-face declarations in a separate css file called
Then just place
font.css in the Ignore Files field.
Now the font.css file will be served from your own website instead of the CDN server.