Grow your CSS skills. Land your dream job.

Flir not finding font. Please help

  • # April 11, 2009 at 8:31 pm

    Can someone help me out? I’m so stumped.
    I want to use Flir to replace a font for my new portfolio website that I am putting together.
    I’ve been trying to figure this out all day. Can someone take a look at this and tell me what I am doing wrong? Please?
    I am attaching a link to a simple file I found at nettuts that shows you the right way to implement the technique. I’m trying to get my font "Cooper Std Black Italic" to show up. I converted the font to ttf and it still wont open. I think the problem is I am not declaring the font name the right way?

    $fonts = ‘CooperBlackStd-Italic.ttf’;

    Any help would be really appreciated.
    Here is the link: http://www.lrgstudios.com/vault/junk/flir-demo/flir-demo.zip

    Thanks John

    # April 12, 2009 at 4:08 am

    Prefer sIFR myself :D
    The problem is in your CSS. In the config-flir.php you specify

    Code:
    $fonts['CooperStd']

    but in your CSS you call for

    Code:
    h1 { font-family: Cooper Std, Georgia, serif; }

    Lose the space between ‘Cooper’ and ‘Std" and it will work.

    Code:
    h1 { font-family: CooperStd, Georgia, serif; }
    # April 13, 2009 at 10:06 pm

    Thanks for the help. I was checking out Sifr and Flir, Typeface.js and Cufon to see what worked the fastest.
    I found that Cufon (http://cufon.shoqolate.com/generate/) was the easiest solution after all was said and done.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".