Firefox font-face problem – downloadable font: rejected by sanitizer

This may only affect Firefox on OSX Lion .

When embedding a custom font

@font-face {
font-family: "my-optima";
src: local('Optima'), url('/css/optima.woff') format('woff');
}

Try to vary name the local(‘font-name’) a bit and the problem will be solved.

One thought on “Firefox font-face problem – downloadable font: rejected by sanitizer

  1. Please give more detailed explanation about this font problem! My code is @font-face {
    font-family: ‘JournalRegular’;
    src: url(‘css/journal-webfont.eot’);
    src: url(‘css/journal-webfont.eot?#iefix’) format(‘embedded-opentype’),
    url(‘css/journal-webfont.woff’) format(‘woff’),
    url(‘css/journal-webfont.ttf’) format(‘truetype’),
    url(‘css/journal-webfont.svg#JournalRegular’) format(‘svg’);
    font-weight: normal;
    font-style: normal;
    TNX

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

For spam filtering purposes, please copy the number 6052 to the field below: