2067 posts
  • Has collected 50+ items on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
  • Located in 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
  • Has been part of the Envato Community for over 4 years
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
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?

2067 posts
  • Has collected 50+ items on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
  • Located in 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.

2067 posts
  • Has collected 50+ items on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
  • Located in United States
Landonw
says

Figured it out, close and delete.

970 posts
  • Has been part of the Envato Community for over 6 years
  • Has sold $10,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Sells items exclusively on Envato Market
EireStudio
says

Figured it out, close and delete.

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

2067 posts
  • Has collected 50+ items on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
  • Located in 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