Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Flir not finding font. Please help

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #24567

    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

    #56157
    apostrophe
    Participant

    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; }
    #56229

    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)
  • The forum ‘JavaScript’ is closed to new topics and replies.