More than one font with Cufon?
Is it possible to have more th开发者_StackOverflow社区an one Cufon font on a website? If so, how?
Yes it is possible. Link multiple font files to page. And Invoke Cufon.replace with fontFamily attribute. Example:
Cufon.replace('div.contactus-slogan', {
fontFamily: "Myriad Pro"
});
Cufon.replace('div.slogan-left-content h1', {
fontFamily: "Myriad Pro Light"
});
精彩评论