X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

Error: downloadable font: rejected by sanitizer

Posted

- anyone have a problem with this? I can't get the CSS attribute font-face to work for downloadable fonts. @font-face {

     font-family: minecraft;
     src: url("../files/minecraft.ttf");

}

What is the sanitizer and how can I configure it to accept the downloaded font?

Chosen solution

You get this error if you run out of memory when loading the fontfile or if there is something wrong with the layout (contents) of the fontfile. This is a protection against bad or malicious font files. It is probably possible to disable the sanitizer by setting the pref gfx.downloadable_fonts.sanitize to false in about:config but then you are no longer protected. Use at your own risk. Do not blame Mozilla if you are infected with malware.

Read this answer in context 5

Additional System Details

Installed Plug-ins

  • Adobe PDF Plug-In For Firefox and Netscape 10.1.2
  • Adobe Shockwave for Director Netscape plug-in, version 11.6.3.633
  • Shockwave Flash 11.1 r102
  • iTunes Detector Plug-in
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • Google Update
  • GEPlugin
  • NVIDIA 3D Vision Streaming plugin for Mozilla browsers
  • NVIDIA 3D Vision plugin for Mozilla browsers
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Next Generation Java Plug-in 1.6.0_29 for Mozilla browsers
  • 4.0.60831.0
  • RealJukebox Netscape Plugin
  • RealNetworks(tm) RealPlayer Chrome Background Extension Plug-In
  • RealPlayer(tm) HTML5VideoShim Plug-In
  • RealPlayer(tm) LiveConnect-Enabled Plug-In
  • 12.0.1.647
  • NPWLPG
  • DivX VOD Helper Plug-in
  • Picasa plugin
  • wpidetector
  • Coupons, Inc. Coupon Printer Plugin
  • Coupons, Inc. Coupon Printer DLL
  • DivX Web Player version 2.1.1.94
  • Reader Library Helper Plugin
  • Office Live Update v1.5
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • Windows Activation Technologies Plugin for Mozilla
  • Office Authorization plug-in for NPAPI browsers
  • Unity Player 2.6.1f3
  • npdivxplayerplugin
  • Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
  • np-mswmp

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1

More Information

I've changed directories, re-downloaded the font, renamed the font and some other things I can't remember at the moment
Thanks!
Saghalie
Halo Wawa, Boire du Cafe'

knorretje 161 solutions 582 answers

Chosen Solution

You get this error if you run out of memory when loading the fontfile or if there is something wrong with the layout (contents) of the fontfile. This is a protection against bad or malicious font files. It is probably possible to disable the sanitizer by setting the pref gfx.downloadable_fonts.sanitize to false in about:config but then you are no longer protected. Use at your own risk. Do not blame Mozilla if you are infected with malware.

cor-el
  • Top 10 Contributor
  • Moderator
10748 solutions 96724 answers

Helpful Reply

You can also verify the fonts if it is your own website.

Helpful Reply

Thanks cor-el; I will give this a try, so far it's looking good - still gotta plug it in to my CSS to see if it will work.

This is for my college class so thanks for the speedy reply - I lost power over the last week with Ice storms and trees falling all around me - so please forgive the lateness of the reply.

Regards,

Saghalie

Halo Wawa, Boire du Cafe'

Modified by Saghalie