63 posts
  • 6 Years of Membership
  • Collector Level 4
  • Ireland
sticker
says

Hi All,

I’m not sure exactly how to achieve this, but can anyone recommend how I can embed a custom font to a new site I am working on so all text will display in the chosen font.

Thanks in advance -

2541 posts
  • Affiliate Level 2
  • Author Level 2
  • Collector Level 3
  • United States
+9 more
CreatingDrew
says

A lot of people choose to use Cufon as a JS font embedding solution. Note it’s only meant to be used on header areas etc and not the entire body/page text :)

242 posts
  • 5 Years of Membership
  • Affiliate Level 1
  • Author Level 5
  • Collector Level 2
+3 more
ATLChris
says

I prefer Cufon, but you can also use sRIF font replacement and use flash instead of javascript.

http://www.sifrgenerator.com/

2468 posts
  • 6 Years of Membership
  • Author Level 2
  • Affiliate Level 4
  • Beta Tester
+3 more
digitalimpact
says
Or use @font-face in css.

+1

I really don’t get it why many people use cufon or flash solutions over the simple @font-face… it works in any browser and doesn’t create additional elements like ...

1180 posts
  • Affiliate Level 5
  • Author Level 5
  • Collector Level 2
  • Exclusive Author
+2 more
mabuc
says
Or use @font-face in css.

+1

I really don’t get it why many people use cufon or flash solutions over the simple @font-face… it works in any browser and doesn’t create additional elements like <canvas> ...

and can be used in the entire body/page text. :)

63 posts
  • 6 Years of Membership
  • Collector Level 4
  • Ireland
sticker
says

Thanks so much for the informative replies!

@font-face in css seem the best solution! – thanks…

240 posts
  • 6 Years of Membership
  • Canada
  • Collector Level 2
  • Exclusive Author
rarepearldesign
says

so basically all latest browsers now support @font-face, I knew IE had it way back but they don’t support TTF fonts do they?

I really don’t like these sIFR and CUFON scripts, I find the text blurry a lot of the times.

2468 posts
  • 6 Years of Membership
  • Author Level 2
  • Affiliate Level 4
  • Beta Tester
+3 more
digitalimpact
says
so basically all latest browsers now support @font-face, I knew IE had it way back but they don’t support TTF fonts do they? I really don’t like these sIFR and CUFON scripts, I find the text blurry a lot of the times.

I have no problems with @font-face on : IE6 -8, Firefox, Safari, Chrome. Haven’t tested on Opera yet, but I’m 99.99% sure it handles it well.

And btw, TTF not supported in IE? Hmmm, weird, I did see many articles on the subject, but my Rockwell font in TTF displays perfect :)

@font-face FTW !

63 posts
  • 6 Years of Membership
  • Collector Level 4
  • Ireland
sticker
says

I’m really sorry for the dumb question, but how do I add the @font-face attribute into my site’s code? (via the stylesheet?)

by
by
by
by
by
by