CodeCanyon

Font-face or Google-font

361 posts
  • Interviewed on the Envato Notes blog
  • United States
  • Power Elite Author: Sold between 1 000 000 - 1 999 999 dollars
  • Power Elite Author
  • Referred between 1000 and 1999 users
  • Exclusive Author
  • Has been a member for 3-4 years
+1 more
GoodLayers says

wow! Thanks :D

461 posts
  • Author had a File in an Envato Bundle
  • Sold between 250 000 and 1 000 000 dollars
  • Elite Author
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 3-4 years
  • India
+1 more
SaurabhSharma says

There are equal advantages and disadvantages. If you use @font-face, you will need to bundle all fonts with your theme, and a CSS file with all combination of .woff, .eot, .svg etc for different browsers.

If you use google webfonts, you just need a one line api call, but then a testing on local server requires internet connection.

I still prefer Google webfonts. Hassle free. :)

973 posts
  • Sold between 100 and 1 000 dollars
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
  • Exclusive Author
  • Microlancer Beta Tester
  • United States
fillerspace says

Yes, when I used twitter and flickr, cufon.now() seem doesn’t work.
Thanks ;)

I have solved this problem in the theme I’m working on. Here is the problem:

<head>
load jQuery
load Cufon
Cufon.replace()
</head>
...
body
twitter tag - delays document ready while loading
adsense tag - delays document ready while loading
flickr widget - delays document ready while loading
...

Cufon.now() - too late because page load was already delayed
load other javascripts

Here is my solution:

<head>
load jQuery
load custom library that rewrites document.write to
 a function that uses jQuery.replaceWith()
load Cufon
Cufon.replace()
</head>
...
body
store placeholder with link to twitter script
store placeholder with link to adsense script
store placeholder with link to flickr script
...

Cufon.now() - works because page load was not delayed
load other javascripts
on document.ready, use jQuery to select all placeholders,
 read links contained in them, dynamically append script
 tags (we don't have to worry about document.write 
clearing the page since we rewrote it)...document.write 
contained in the loaded scripts will now call 
jQuery.replaceWith to replace the placeholder with the
 result of the script execution

1920 posts Do the Needful
  • Envato Staff
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Support Staff
  • United States
  • Author had a Free File of the Month
  • Microlancer Beta Tester
  • Beta Tester
  • Interviewed on the Envato Notes blog
+7 more
JamiGibbs staff says

I used to use Cufon but have recently decided not to use it again in ThemeForest items. There’s just too many unnecessary support questions about it like when they want to change the font color or size and they’re not familiar with how Cufon works. Or complaints of the text flashing too slowly on pages.

Long story short: I’m an @font-face user now.

891 posts It's in the pipeline!
  • Elite Author
  • Has been a member for 4-5 years
  • Bought between 100 and 499 items
  • Referred between 200 and 499 users
  • Exclusive Author
  • Microlancer Beta Tester
  • Author had a Free File of the Month
+2 more
purethemes says

I used to use Cufon but have recently decided not to use it again in ThemeForest items. There’s just too many unnecessary support questions about it like when they want to change the font color or size and they’re not familiar with how Cufon works. Or complaints of the text flashing too slowly on pages. Long story short: I’m an @font-face user now.

+1 just wanted to say the same ;) Google Fonts Api is brilliant for that.

1219 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • Microlancer Beta Tester
webdesignerart says

+1 font-face, best in SEO . Not Cufon so.

2 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
lpage says

+1 font-face, best in SEO . Not Cufon so.

Cufon is just as SEO friendly. Also Font-Face still flickers in IE just like Cufon.

1382 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 10 and 49 users
  • Serbia
wpCanyonThemes says


+1 font-face, best in SEO . Not Cufon so.
Cufon is just as SEO friendly. Also Font-Face still flickers in IE just like Cufon.

Flickering in IE is a bonus, IE users should suffer. Really suffer.

2 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
lpage says



+1 font-face, best in SEO . Not Cufon so.
Cufon is just as SEO friendly. Also Font-Face still flickers in IE just like Cufon.
Flickering in IE is a bonus, IE users should suffer. Really suffer.

LOL

by
by
by
by
by