Forums

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

Home Forums CSS embedded fonts?

  • This topic is empty.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #33055
    ylex1
    Participant

    Hey

    I want to use the Aller font in my website how do I do it?

    thanks

    #73620
    The-Marshal
    Member

    Do that in your css file


    @font-face { font-family: Font Name; src: url('Font path'); }

    then aller this font


    font-family: Font Name;

    Just that !!

    #73610
    chrisburton
    Participant

    I use Font Squirrel for my font embedding as it has great cross-browser support.

    @font-face {
    font-family: 'Aller';
    src: url('/fonts/aller-webfont.eot?') format('eot'),
    url('/fonts/aller-webfont.woff') format('woff'),
    url('/fonts/aller-webfont.ttf') format('truetype'),
    url('/fonts/aller-webfont.svg#webfontoBFDAVMh') format('svg');
    font-weight: normal;
    font-style: normal;
    }
    #73611
    ylex1
    Participant

    thank you guys

    #73589
    jeffvee
    Participant

    Google’s Font API might be useful to you. http://code.google.com/apis/webfonts/

    #73591
    joelmb
    Member
    #73592
    seb_z_lite
    Member

    font squirrel is awesome! Also @ylex1 make sure to always write the font-family the same way as the font-face declaration.

    #73482
    OniLinkCR
    Member

    @ChrChristopherBurton why SVG? I kind of dropped support for it. Are there any devices that support it, current ones? If it’s mobiles, I would rather develop a site for mobiles and then include it. I have been on the fence over SVG.

    #73471
    chrisburton
    Participant

    Font Squirrel automatically converts your fonts to multi extensions. To be honest, I believe they use SVG for iOS versions previous to 4.2. Don’t hold me to that.

    #73461
    doobiedubois
    Member

    I gave FontSquirrel a try after Google Fonts disappointed me royally and I found that rendering issues continued in some browsers – mainly pre-9 Interet Explorer. It probably made a difference that my chosen font, Josefin, is a light one but I wasn’t able to affect cross browser support.

    #73465
    chrisburton
    Participant

    It seems that I was correct on my explanation for svg support.

    #73414
    OniLinkCR
    Member

    Oyy…didn’t read that one… sorry mate.

    PS: AND YOU ARE!!! lol

    #73312
    ylex1
    Participant

    haha thank you all!

Viewing 13 posts - 1 through 13 (of 13 total)
  • The forum ‘CSS’ is closed to new topics and replies.