2054 posts
  • Has been a member for 4-5 years
  • Bought between 50 and 99 items
  • Exclusive Author
  • United States
Landonw says

You see, I’m making my font size larger with JavaScript because of the CUFON font looking a whole lot smaller than normal text. Now, the problem is if someone has javascript enabled however their browser does not support cufon, it will give them huge text. So is there something like

Cufon.supported()

or no?

116 posts
  • Bought between 1 and 9 items
  • Europe
  • Exclusive Author
  • Has been a member for 4-5 years
dejans7 says

This might be little off-topic, but do you really need to use cufon? Why not @font-face, it might solve your problems?

2054 posts
  • Has been a member for 4-5 years
  • Bought between 50 and 99 items
  • Exclusive Author
  • United States
Landonw says

There’s a difference. Font-face only renders as I want it to on a Mac, Cufon renders how I want it to on all systems.

2054 posts
  • Has been a member for 4-5 years
  • Bought between 50 and 99 items
  • Exclusive Author
  • United States
Landonw says

Figured it out, close and delete.

962 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Ireland
  • Sold between 10 000 and 50 000 dollars
EireStudio says

Figured it out, close and delete.

Why not post for someone else who comes to this thread for the answer?

2054 posts
  • Has been a member for 4-5 years
  • Bought between 50 and 99 items
  • Exclusive Author
  • United States
Landonw says

Okay,

you can do one of two things. Either assign your CSS like this:

Cufon.register('h1, h2, h3, h4, h5, h6', {'STYLE', 'VALUE'});

or alternatively add this to your CSS file:

.cufon-ready h1 {
font-size:48px;
}
by
by
by
by
by
by