treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Flir not finding font. Please help

  • 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['CooperStd'] = 'CooperBlackStd-Italic.ttf';

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


    Thanks John
  • Prefer sIFR myself :D
    The problem is in your CSS. In the config-flir.php you specify
    $fonts['CooperStd']

    but in your CSS you call for
    h1 { font-family: Cooper Std, Georgia, serif; }

    Lose the space between 'Cooper' and 'Std" and it will work.
    h1 { font-family: CooperStd, Georgia, serif; }
  • 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.