- This topic is empty.
Viewing 13 posts - 1 through 13 (of 13 total)
Viewing 13 posts - 1 through 13 (of 13 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hey
I want to use the Aller font in my website how do I do it?
thanks
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 !!
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;
}
thank you guys
Google’s Font API might be useful to you. http://code.google.com/apis/webfonts/
TYPEKIT http://typekit.com
font squirrel is awesome! Also @ylex1 make sure to always write the font-family the same way as the font-face declaration.
@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.
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.
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.
It seems that I was correct on my explanation for svg support.
Oyy…didn’t read that one… sorry mate.
PS: AND YOU ARE!!! lol
haha thank you all!