2036 posts Quality Manager
  • Affiliate Level 2
  • Author Level 4
  • Collector Level 4
  • Envato Team
+14 more
jremick
Envato team
says

Hey guys,

I see this all the time and it’s become a bit of a pet peeve for me. When using cufón, you shouldn’t call the plugin for each individual element.

Bad

Cufon.replace('h1');
Cufon.replace('h2');
Cufon.replace('h3');
Cufon.replace('h4');

Just call the plugin once and chain your elements together to be processed in one swoop.

Good

Cufon.replace('h1, h2, h3, h4');

I’ll start asking that authors begin doing it the correct way, although I won’t reject an item solely for this. Upon approval (or along with a soft-rejection), I’ll request that this is also fixed. Thanks!

211 posts Devil Can't Burn
  • Affiliate Level 3
  • Author Level 9
  • Beta Tester
  • Collector Level 2
+10 more
Devilcantburn
says

LOL !!!! Simply LOL !!!

however, Cufon has a simple documentation! :D

1950 posts Do the Needful
  • Weekly Top Seller
  • Author Level 8
  • Elite Author
  • 5 Years of Membership
+12 more
JamiGibbs
says
LOL !!!! Simply LOL !!! however, Cufon has a simple documentation! :D

They actually don’t have this info easily displayed in their documentation. I just discovered this about a month ago when trying to find a solution to getting :hover to work with Cufon on someone’s blog. You still sometimes have to call the plugin separately for elements that you want hover or color change. Cufon has some strange quirks.

Thanks for point it out for the newer peeps, remick.

385 posts
  • Affiliate Level 2
  • Author Level 8
  • Collector Level 2
  • Top Monthly Author
+10 more
uDesignStudios
says

Stop using Cufón at all. Start using @font-face ;)

111 posts
  • 5 Years of Membership
  • Collector Level 1
  • Exclusive Author
  • United States
Yeowza
says

If using jQuery then you can also do this..

Cufon.replace(’:header’)

Will grab all h1, h2, h3 elements etc etc.

Turns out I just wrote a tutorial on this yesterday.. http://www.designsaga.com/jquery/jquery-advanced-selecting/

Let me know if this helps you guys.

2468 posts
  • 6 Years of Membership
  • Author Level 2
  • Affiliate Level 4
  • Beta Tester
+3 more
digitalimpact
says
Stop using Cufón at all. Start using @font-face ;)

+1 ;)

815 posts
  • Affiliate Level 1
  • Author Level 5
  • Collector Level 1
  • Freebie
+3 more
rvision_
says
Stop using Cufón at all. Start using @font-face ;)

Not really. On Win browsers it looks like crap.

2468 posts
  • 6 Years of Membership
  • Author Level 2
  • Affiliate Level 4
  • Beta Tester
+3 more
digitalimpact
says
Stop using Cufón at all. Start using @font-face ;)
Not really. On Win browsers it looks like crap.

Depends on what font you’re using :)

815 posts
  • Affiliate Level 1
  • Author Level 5
  • Collector Level 1
  • Freebie
+3 more
rvision_
says
Stop using Cufón at all. Start using @font-face ;)
Not really. On Win browsers it looks like crap.
Depends on what font you’re using :)

Please point me to one font that looks decently, since I haven’t seen one.

Cleartype issues?

89 posts
  • 5 Years of Membership
  • Collector Level 1
  • Exclusive Author
  • Super Copyright Ninja
+1 more
MatthewAllen
says
Please point me to one font that looks decently, since I haven’t seen one. Cleartype issues?

Museo Slab looks nice! :)

http://arandomurl.com/2010/07/25/html5-pacman.html

by
by
by
by
by
by