cufon

jCarousel - cufon disappears after the first rotation

自作多情 提交于 2019-12-11 09:09:07
问题 I'm using cufon with jCarousel. The carousel has four items and they rotate from left to right. The carousel is set to 'circular' and the cufon paragraphs are disappearing after the first rotation. What can I do to get jCarousel and cufon to work so that the headlines don't disappear? 回答1: How about trying something like this to refresh cufon on each 'rotation' - I'm assuming that your jCarousel container has a class of jcarousel : $('.jcarousel').bind('jcarouselanimate', function(event,

@font-face vs Google Fonts vs Cufon

主宰稳场 提交于 2019-12-10 01:36:39
问题 So I've been forced by circumstances into using @font-face on a site I'm developing, and have to say I'm impressed by the cross browser render quality compared to Google Fonts but it does seem to have a heavy impact on http requests compared to Cufon, as you need four variants per font for body copy and sometimes a couple for headings. I've generally worked with cufon as I've found it to be flexible, reliable cross-browser and mobile, and despite some odd white-space issues on occasion, easy

Cufon text z-index (IE6 and IE7 stylish select box bug)

守給你的承諾、 提交于 2019-12-05 06:06:41
I'm replacing some text with cufon on my page and I'm using jquery stylish select box plugin ( http://www.scottdarby.com/plugins/stylish-select/0.4/ ) to style select boxes. The problem is that, in IE6 and IE7, select box goes under the cufonized text. (the select box is actually an <ul> ). Anyone had this issue before? i encountered the same problem with a drop down menu, through which the Cufon h1 stays visible in IE 6 & 7. Giving the element in which the ul is placed a z-index solves the problem! Cheers I had same problem, but becouse cufon was relative posioned. Z-index + positon relative

Web font embedding vs. sifr?

陌路散爱 提交于 2019-12-04 19:36:56
问题 I'd like to use a non-standard web font to improve the appearance of my HTML. Is it preferable to embed a web font or use something like sifr? My understanding is sifr is a flash-based viewer for vector fonts but I've been reluctant to try it because it seems somewhat complicated. There does not seem to be a lot of encouraging talk about web font embedding (because of legal issues) so maybe sifr is more of a standard way to do this? Any feedback would be appreciated. Thanks. 回答1: Web fonts

Can I use print in Raphael without Cufon?

落爺英雄遲暮 提交于 2019-12-04 12:15:54
问题 I am trying to use the print command, mentioned in the documentation for Raphael, to, well, print text with a nice font. [I see that this can be done nicely using the "text" function, and I see examples on the web using fonts generated by Cufon with the print function (as in these examples for 'text' and 'print'), but what I'm doing is as close as I can make it to the example in the documentation and does not work for me, and I'd like to know why.] Here's my code: <html> <head> <title>Raphael

What are cons to use Cufon? Is sIFR still good option? @font-face doesn't make the letters smooth like they look with cufon or sIFR

荒凉一梦 提交于 2019-12-04 03:34:08
问题 What are cons to use Cufon? in term of Web Standards, Accessibility and Performance. I think if we need smooth text than sIFR is still best with screen reader compatibility. With @font-face font doesn't look smooth like Cufon and Sifr. but Cufon use canvas tag for each letter which it maked harder to read for screenreaders. To make font smooth is sIFR still best and accessibility compatibility solution? Is it possible to get Anti-aliasing like Image, sIFR and cufon with using @font-face? 回答1:

php edit for Cufon font replacement

筅森魡賤 提交于 2019-12-02 18:35:31
问题 I am trying to change the color of the menu items on my website but i don't know where in this to add the color code #c3c3c3 that i want to use <script type="text/javascript"> jQuery(document).ready(function($){ // Cufon font replacement & text shadows Cufon.replace('#sidebar .font, #content .post .font, #card-container .font, #frontwidgets h3, #gallery .gal_item .font, #nicepagination .font',{ fontFamily: 'Junction', textShadow: '#fff 0px 1px' }); Cufon.replace('#footer .font',{ fontFamily:

Well rendered webfont solution

有些话、适合烂在心里 提交于 2019-12-02 04:41:40
The challenge: Provide dynamic web fonts that render acceptably across all major browsers, devices and Operating Systems The story: So I had used cufon or sifr in the past and had since abandoned both in favor of @font-face. After using @font-face in production for some time, I made a horrifying discovery. Many fonts (most?) look like crap in Windows XP, regardless of browser. Even in google chrome, XP renders the fonts unacceptably jagged and ugly. I am aware of why this is happening. After reading many excellent posts on ye olde stack overflow, I understand the issue is NOT of font hinting,

What are cons to use Cufon? Is sIFR still good option? @font-face doesn't make the letters smooth like they look with cufon or sIFR

╄→尐↘猪︶ㄣ 提交于 2019-12-01 18:31:40
What are cons to use Cufon? in term of Web Standards, Accessibility and Performance. I think if we need smooth text than sIFR is still best with screen reader compatibility. With @font-face font doesn't look smooth like Cufon and Sifr. but Cufon use canvas tag for each letter which it maked harder to read for screenreaders. To make font smooth is sIFR still best and accessibility compatibility solution? Is it possible to get Anti-aliasing like Image, sIFR and cufon with using @font-face? The best solution is to use @font-face. There are already fail-safe solutions for @font-face. sIFR and

How to disable Cufon on certain elements?

此生再无相见时 提交于 2019-11-30 13:21:53
问题 I currently use Cufon accross our site with something similar to Cufon.set('fontFamily', 'DIN Medium').replace('h1'); Now for a single H1 tag i would like Cufon to be disabled, this is without changing the H1 tag to any other tag, it must remain as it is. I can add classes etc to the H1 tag if required, and can do any HTML/CSS/JS just not changing the actual tag. Anyone know if this is possible and if it is how? Thanks in advance, Shadi 回答1: Depending on which selector engine you use, you can