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?
This might be little off-topic, but do you really need to use cufon? Why not @font-face, it might solve your problems?
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.
Figured it out, close and delete.
landonw said
Figured it out, close and delete.
Why not post for someone else who comes to this thread for the answer?
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;
}
