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

  • Home
  • SEARCH
  • 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 8475787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T17:59:18+00:00 2026-06-10T17:59:18+00:00

In IE7 and IE8, when using a custom web font, text is sometimes rendered

  • 0

In IE7 and IE8, when using a custom web font, text is sometimes rendered in italics, even when I explicitly set font-style: normal. The issue is sporadic – it will render fine a few times, then I refresh and everything is in italics, then I refresh and it’s back to normal.

I’m using this @font-face declaration:

@font-face {
    font-family: 'DIN';
    src: url('fonts/DINWeb.eot');
    src: url('fonts/DINWeb.eot?#iefix') format('embedded-opentype'),
         url('fonts/DINWeb.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'DIN';
    src: url('fonts/DINWeb-Bold.eot');
    src: url('fonts/DINWeb-Bold.eot?#iefix') format('embedded-opentype'),
         url('fonts/DINWeb-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'DIN';
    src: url('fonts/DINWeb-Ita.eot');
    src: url('fonts/DINWeb-Ita.eot?#iefix') format('embedded-opentype'),
         url('fonts/DINWeb-Ita.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'DIN';
    src: url('fonts/DINWeb-BoldIta.eot');
    src: url('fonts/DINWeb-BoldIta.eot?#iefix') format('embedded-opentype'),
         url('fonts/DINWeb-BoldIta.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

Theres a comment on this article that indicates it could be about the order of the @font-face declarations: however the only thing that stopped the problem was removing the italic declarations altogether.

Another Stack Overflow answer suggests using the Font Squirrel @font-face generator; I’m not able to do this however as the web font files I’m using have DRM.

Is there a way to solve this without completely removing the italic declarations?

UPDATE: Upon further investigation, it seems this issue affects IE8 as well, not just in compatibility mode.

  • 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-10T17:59:20+00:00Added an answer on June 10, 2026 at 5:59 pm

    For each of your @font-face font-family names, create a custom name instead.

    Example:

    @font-face {
        font-family: 'DINnormal';
        src: url('fonts/DINWeb.eot');
        src: url('fonts/DINWeb.eot?#iefix') format('embedded-opentype'),
             url('fonts/DINWeb.woff') format('woff');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'DINbold';
        src: url('fonts/DINWeb-Bold.eot');
        src: url('fonts/DINWeb-Bold.eot?#iefix') format('embedded-opentype'),
             url('fonts/DINWeb-Bold.woff') format('woff');
        font-weight: bold;
        font-style: normal;
    }
    @font-face {
        font-family: 'DINitalic';
        src: url('fonts/DINWeb-Ita.eot');
        src: url('fonts/DINWeb-Ita.eot?#iefix') format('embedded-opentype'),
             url('fonts/DINWeb-Ita.woff') format('woff');
        font-weight: normal;
        font-style: italic;
    }
    @font-face {
        font-family: 'DINboldItalic';
        src: url('fonts/DINWeb-BoldIta.eot');
        src: url('fonts/DINWeb-BoldIta.eot?#iefix') format('embedded-opentype'),
             url('fonts/DINWeb-BoldIta.woff') format('woff');
        font-weight: bold;
        font-style: italic;
    }
    

    After those CSS rules are defined, then you can include specific CSS rule:

    li {
      font: 18px/27px 'DINnormal', Arial, sans-serif;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know IE7 & IE8 supposedly have support for using multiple CSS class selectors,
We're having a problem getting Word documents to download in IE7/IE8 using window.open calls.
I'm building a web site for an artist who has had a custom font
Will i get same result in IE7 and IE8 after using this <meta http-equiv=X-UA-Compatible
Using ie8's own dev tools it shows the elements text-align value as left, but
I'm using IE7 and IE8. Is there anyway to have a completely invisible or
I need to ensure IE7 and IE8 support. I'm using a few CSS3 selectors
i'm building a site where we are considering to use a custom font (using
For IE7 and IE8, I am capturing some JSONp to use in my webpage.
My form views fine in IE7 and IE8 but FireFox does not display the

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.