sifr

sIFR or FLIR?

拟墨画扇 提交于 2019-12-07 07:15:25
问题 I've recently bumped into facelift, an alternative to sIFR and I was wondering if those who have experience with both sIFR and FLIR could shed some light on their experience with FLIR. For those of you who've not yet read about how FLIR does it, FLIR works by taking the text from targeted elements using JavaScript to then make calls to a PHP app that uses PHP's GD to render and return transparent PNG images that get placed as background for the said element, where the overflow is then set to

Custom font and a CMS

匆匆过客 提交于 2019-12-07 06:04:29
I'm building a web site for an artist who has had a custom font made from his handwriting. He'd like to use this font extensively throughout the site - not for all body copy because it'd be difficult to read, but for headings, navigation, callouts, things like that. I've got the file - it's a TrueType font file. We're going to be using a PHP-based CMS to build the site. What is the best way to go about using this custom font for this purpose while still allowing page name, titles, etc. to be edited by the client in the CMS? I'd like to accommodate as many users as possible, but it would be

decreasing sifr render time

柔情痞子 提交于 2019-12-06 16:14:56
问题 I'm using sifr for a few items on this page: http://blueprint.staging.dante-studios.com/public/templates/home.php unfortunately it seems that the rendering is very slow, does anyone have any idea of how to: a) speed up the rendering process b) hide all "to be sifr'd" items until all of them are ready? 回答1: Here are a few suggestions: The Flash movie has the bold and italic and bold + italic glyphs embedded. If you don't need those, they're adding needless weight to the movie. Same goes for

sIFR or FLIR?

流过昼夜 提交于 2019-12-05 15:35:04
I've recently bumped into facelift, an alternative to sIFR and I was wondering if those who have experience with both sIFR and FLIR could shed some light on their experience with FLIR. For those of you who've not yet read about how FLIR does it, FLIR works by taking the text from targeted elements using JavaScript to then make calls to a PHP app that uses PHP's GD to render and return transparent PNG images that get placed as background for the said element, where the overflow is then set to hidden and padding is applied equal to the elements dimensions to effectively push the text out of view

decreasing sifr render time

孤人 提交于 2019-12-04 20:46:26
I'm using sifr for a few items on this page: http://blueprint.staging.dante-studios.com/public/templates/home.php unfortunately it seems that the rendering is very slow, does anyone have any idea of how to: a) speed up the rendering process b) hide all "to be sifr'd" items until all of them are ready? Here are a few suggestions: The Flash movie has the bold and italic and bold + italic glyphs embedded. If you don't need those, they're adding needless weight to the movie. Same goes for other characters. You could get rid of all JavaScript comments in the sifr-config file. Flash transparency is

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

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:

Sifr and Javascript changing stylesheets (without a page refresh)

喜夏-厌秋 提交于 2019-12-02 18:31:37
问题 I'm currently playing around with Sifr on my site. Basically I have some coloured blocks at the top of my page, which will change the stylesheets through javascript, depending on the colours you chose. I would like to know how I can get the Sifr h1/h2 tags to reload dynamically (no page refresh) onclick - if that's possible? I've tried to add the sIRF.activate code in the onclick event and I've also tried putting the sIFR.activate code inside the set_style function, but to no avail. If anyone

Sifr and Javascript changing stylesheets (without a page refresh)

与世无争的帅哥 提交于 2019-12-02 10:21:49
I'm currently playing around with Sifr on my site. Basically I have some coloured blocks at the top of my page, which will change the stylesheets through javascript, depending on the colours you chose. I would like to know how I can get the Sifr h1/h2 tags to reload dynamically (no page refresh) onclick - if that's possible? I've tried to add the sIRF.activate code in the onclick event and I've also tried putting the sIFR.activate code inside the set_style function, but to no avail. If anyone can help me that would be fantastic!! Cheers Leanne Given sIFR 3, it is possible to change some of the

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,