63 posts
  • Has been part of the Envato Community for over 5 years
  • Has collected 100+ items on Envato Market
  • Located in Europe
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
  • Has referred 10+ members
  • Has sold $100+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Located in 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
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+2 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
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has referred 100+ members
  • Has been a beta tester for an Envato feature
+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 ...

1179 posts
  • Has referred 200+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+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
  • Has been part of the Envato Community for over 5 years
  • Has collected 100+ items on Envato Market
  • Located in Europe
sticker says

Thanks so much for the informative replies!

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

240 posts
  • Has been part of the Envato Community for over 5 years
  • Located in Canada
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
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
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has referred 100+ members
  • Has been a beta tester for an Envato feature
+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
  • Has been part of the Envato Community for over 5 years
  • Has collected 100+ items on Envato Market
  • Located in Europe
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