Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8665907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:35:57+00:00 2026-06-12T17:35:57+00:00

I have generated a @font-face with FontSquirrel, and resulted these (tweaked later) rules: @font-face

  • 0

I have generated a @font-face with FontSquirrel, and resulted these (tweaked later) rules:

@font-face {
    font-family: 'CabinSketchRoBold';
    src: url('cabinsketchro-boldwebfont.eot');
}

@font-face {
    font-family: 'CabinSketchRoBold';
    src: url('cabinsketchro-boldwebfont.woff') format('woff'),
         local('?'), url('cabinsketchro-boldwebfont.ttf') format('truetype'),
         url('cabinsketchro-boldwebfont.svg#CabinSketchRoBold') format('svg');
    font-weight: normal;
    font-style: normal;
}

Style is applied in the css file like this:

h1,h2,h3,h4,h5,h6 {font-weight:normal;font-family:'CabinSketchRoBold',Arial,sans-serif !important; }

Everithing works fine in Chrome, even in InternetExplorer, but in newer versions of Firefox, the font doesn’t load. It loads in FF 3.6… o_O

I have another font, Ubuntu, loaded from Google via the JavaScript option, and that one loads ok, even on the headings, after changing

font-family:'CabinSketchRoBold','Ubuntu',Arial,sans-serif !important;

What’s wrong with the declarations that makes FF ignore my local font?

EDIT: this is not only on localhost, it happens on the live site too. I have looked at other answers and tried them out, but no luck. WOFF was even base64 encoded, same result.

SOLVED: Seems that the .eot being in a separate declaration (again, FontSquirrel generated) was doing the damage. Moving it with the others solved it. Thanks Boris Zbarsky!

@font-face {
    font-family: 'CabinSketchRoBold';
    src: url('cabinsketchro-boldwebfont.eot?#') format('eot'),
         url('cabinsketchro-boldwebfont.woff') format('woff'),
         local('?'), url('cabinsketchro-boldwebfont.ttf') format('truetype'),
         url('cabinsketchro-boldwebfont.svg#CabinSketchRoBold') format('svg');
    font-weight: normal;
    font-style: normal;
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T17:35:58+00:00Added an answer on June 12, 2026 at 5:35 pm

    Your problem is that you are actually defining two separate faces of the “CabinSketchRoBold” font.

    The first face is normal weight and uses .eot file for the font data.

    The second face is bold weight and uses one of woff, truetype, svg, whichever is available.

    Then you’re styling text that’s normal weight. So the first face is picked. See http://dev.w3.org/csswg/css3-fonts/#font-style-matching for the spec on this.

    In particular, following the steps in that spec, in step 4 we end up a single face: the .eot one. But since the browser can’t do anything with that font format, this face has no glyphs so in step 5 the browser moves on to the next family name. The other (bold) face in the “CabinSketchRoBold” family is not considered, per spec.

    So the upshot is that you should either list font-weight: bold in both your rules or in neither one. Then the .eot and the other options would all be considered as sources for a single font face, not for different faces in the same family.

    It looks like Chrome doesn’t actually follow the spec here, unfortunately…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some @font-face webfonts on my site. The fonts and the CSS code
Having some trouble with the CSS alignment of text generated with @font-face. For some
I have some buttons my page using a custom font face using the CSS
I have looked around online and decided to use the following @font-face implementation: My
I have generated a DAL layer with Subsonic2.2 for a .NET4.0 application, using c#
I have generated a pdf file with password protection by using the following code:
I have generated an excel file from xml. But i can not open it
I have generated a collection of images. Some of them are blank as in
I have generated a C# SharePoint Sequential Workflow project using the very handy STSDEV
I have generated inputs with price values. Example: <input type=text value=59,00/> Now I should

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.