SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Addict
    Join Date
    Nov 2009
    Posts
    312
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Anyone installed Google Webfonts on their own server?

    Hi,

    I want to use one of the Google web fonts on my new site. Google says that web fonts can be donwloaded and installed on your own server. I believe this option will be faster than linking to Google web fonts api, that's why I want to download the font and install it on my site. I checked the guide but couldn't figure out what to do with the downloaded file (.woff). Do you know how to use it?

    Thanks.

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,526
    Mentioned
    182 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    I assume you would need to upload the relevant font-files and use the @font-face routines in the usual (convoluted way).

    Font-squirell will convert the fonts into a usable format if you don't have all the variations and give you the code and files you need to use.

    I would argue that your servers will not be as quick as Google's servers anyway and you may miss out if users already have those google files cached.

  3. #3
    SitePoint Addict
    Join Date
    Nov 2009
    Posts
    312
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Paul thanks for the link and suggestion. Fontsquirrel doesnt see .woff file. I guess I will forget about installing it on my site and just link to Google api as you said.

    Still, it would be good to hear from someone who actually installed one of the Google Web fonts to his website.

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,319
    Mentioned
    462 Post(s)
    Tagged
    8 Thread(s)
    I would also suggest that if you are using Google fonts, just use their one line of code in your head and let them serve up the fonts.

    But as Paul said, I would also recommend using FontSquirrel instead. If that site has the same font as the one you are using, you can download all of the font versions and CSS you need to get started straight away.

    A .woff file on its own is not enough for fonts to work, as you need various versions of a font for it to work in all browsers. If Google only provided you with a .woff file, it might explain why I can never get Google fonts to work in all browsers. I found it so annoying that I gave up on Google fonts altogether.

  5. #5
    SitePoint Addict
    Join Date
    Nov 2009
    Posts
    312
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Ralph. I skipped Google web fonts because there are a lot more and nice fonts on FontSquirrel. I easily installed one of them on my site and I like it. One small issue is that the font looks smooth on Firefox and IE but not as smooth on Chrome and Safari. Is there anything I can do with this or do I have to bear with it?

  6. #6
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,526
    Mentioned
    182 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    It's likely to either be that the free font is not as well constructed as the normal embedded fonts or simply down to browser differences.

    If its on a mac then this link might help.


Bookmarks

Posting Permissions

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