Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Sep 2011
    Location
    127.0.0.1
    Posts
    67
    Thanks
    19
    Thanked 0 Times in 0 Posts

    Font-face problem in FireFox

    FONTS.CSS:
    Code:
    @font-face {
        font-family: 'FuturaBT-MediumCondensed';
        src: url('../fonts/FuturaBT-MediumCondensed.eot');
        src: url('../fonts/FuturaBT-MediumCondensed.eot?#iefix') format('embedded-opentype'),
             url('../fonts/FuturaBT-MediumCondensed.woff') format('woff'),
             url('../fonts/FuturaBT-MediumCondensed.ttf') format('truetype'),
             url('../fonts/FuturaBT-MediumCondensed.svg') format('svg');
        font-weight: normal;
        font-style: normal;
    
    }
    @font-face {
        font-family: 'HelveticaNeueThin';
        src: url('../fonts/HelveticaNeueCE-Thin.eot');
        src: url('../fonts/HelveticaNeueCE-Thin.eot?#iefix') format('embedded-opentype'),
             url('../fonts/HelveticaNeueCE-Thin.woff') format('woff'),
             url('../fonts/HelveticaNeueCE-Thin.ttf') format('truetype'),
             url('../fonts/HelveticaNeueCE-Thin.svg') format('svg');
        font-weight: normal;
        font-style: normal;
    
    }
    @font-face {
        font-family: 'HelveticaNeueMedium';
        src: url('../fonts/HelveticaNeueMedium.eot');
        src: url('../fonts/HelveticaNeueMedium.eot?#iefix') format('embedded-opentype'),
             url('../fonts/HelveticaNeueMedium.woff') format('woff'),
             url('../fonts/HelveticaNeueMedium.ttf') format('truetype'),
             url('../fonts/HelveticaNeueMedium.svg') format('svg');
        font-weight: normal;
        font-style: normal;
    
    }
    Output in Error Console:
    Code:
    Timestamp: 11/21/2012 8:14:35 PM
    Warning: downloadable font: no supported format found (font-family: "HelveticaNeueMedium" style:normal weight:normal stretch:normal src index:4)
    source: (end of source list)
    Source File: fonts.css
    Line: 0
    Source Code:
    @font-face {   font-family: "HelveticaNeueMedium";   font-style: normal;   font-weight: normal;   src: url("../fonts/HelveticaNeueMedium.eot?#iefix") format("embedded-opentype"), url("../fonts/HelveticaNeueMedium.woff") format("woff"), url("../fonts/HelveticaNeueMedium.ttf") format("truetype"), url("../fonts/HelveticaNeueMedium.svg") format("svg"); }
    What I'm doing wrong? :/ Thx in advance!




    EDIT: FIXED THE PROBLEM!
    Last edited by sonic656; 11-21-2012 at 07:24 PM.
    My website is here: http://www.moowdesign.eu/. It is not complete yet, and I want to add language translations for some languages(including english).

  • #2
    Regular Coder LearningCoder's Avatar
    Join Date
    Jan 2011
    Location
    The Pleiades
    Posts
    922
    Thanks
    76
    Thanked 29 Times in 29 Posts
    Just out of curiosity what was the issue?

    Was it your extra font declarations or files weren't found or?

    Regards,

    Lc.

  • #3
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,676
    Thanks
    6
    Thanked 1,008 Times in 981 Posts
    Besides that I’m pretty sure you aren’t allowed to include Helvetica Neue with CSS unless you have a license (which I hope you have but assume you haven’t because many people just do it without caring). That font is sold for money by Linotype so it’s most likely not OK to include it just because you have it on your computer. Same goes for Futura.

    Just saying.

  • #4
    Regular Coder LearningCoder's Avatar
    Join Date
    Jan 2011
    Location
    The Pleiades
    Posts
    922
    Thanks
    76
    Thanked 29 Times in 29 Posts
    That format is the exact same format which Font-Squirrel uses. When you try to convert a licenced font, it usually won't let you.

    I wonder if that was the problem ^

    Regards,

    LC.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •