SIFR 跨浏览器运行良好吗?

发布于 2024-08-21 15:27:56 字数 85 浏览 9 评论 0原文

我现在已经看到一些使用 SIFR 的网站,我可以看到其中的好处。我(很快)研究了其他类似的插件,但 SIFR 似乎相当不错。那么它在跨浏览器兼容性方面好吗?

I have seen a few sites now that use SIFR, and I can see the benefits. I have (quickly) looked into other plugins similar, but SIFR seems to be quite good. So it good in terms of cross-browser compatibility?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

囚我心虐我身 2024-08-28 15:27:56

2008 年,我所在的团队在 Web 应用程序设计中使用了 SIFR,这样我们就可以获得标题的自定义字体。

大多数情况下它工作正常,但我们经常遇到 SIFR 文本不自然换行的问题。

这是

一个标题
会看
就像这样

每当这种情况发生时,我们就必须让我们的设计师查看并修复它,通常是通过对 CSS 进行一些修改。

我不喜欢 SIFR 的另一件事是内容在替换时闪烁或闪烁的方式。这确实很难避免。

总而言之,我们花费了比我们想象的更多的时间来解决 SIFR 问题,但归根结底,我认为这是不值得的。

如今,我可能会考虑仅使用 CSS 的解决方案,例如 TypeKitKernest

I was part of a team that used SIFR in the design of a web application in 2008 so we could get a custom font for headlines.

It works OK most of the time but we frequently ran into problems where the SIFR text would be unnaturally wrapped.

That is

A Headline
Would Look
like This

Whenever this happened, we'd have to have our designer look at it and fix it, usually through some fiddling with the CSS.

The other thing I don't like about SIFR is the way the content flashes or blinks as it's replaced. This is really hard to avoid.

All in all, we spent a lot more time fixing SIFR issues that we thought we would, and in the final analysis I don't think it was worth it.

These days, I might look at a CSS-only solution like TypeKit or Kernest.

冷了相思 2024-08-28 15:27:56

它基本上可以在启用 Flash 的所有设备上运行。

在禁用 Flash 或未安装插件的浏览器上,可以使用基本 CSS 样式的回退。

It basically runs on everything that has Flash enabled.

On browsers that have flash disabled or no plugin installed a fall back with basic CSS styling can be used.

兰花执着 2024-08-28 15:27:56

我在许多网站、CMS 和 Web 应用程序中使用 SIFR。

SIFR 的后备行为非常好,因此您无需太担心兼容性问题。它适用于所有主要的支持 Flash 的浏览器。由于替换了“原生”HTML 标签,它也非常适合 SEO。

设置 sIFR 很棘手,请为一些初始调试、更改相对路径等做好准备。我每次都会忘记如何设置它,这不是很直观。但当它起作用时,它就可以正常工作。在较旧的机器上,您会注意到 SIFR 需要瞬间进行实际更换。它可能很引人注目,但并不好。在现代、快速的机器上,只要替换一些标题等,您就不会注意到任何事情。 Sifr 不适合替换整个文本段落。

我一直想看看的一个替代方案是 Cufon< /a>.虽然这里很多人都喜欢它,但我自己不能说太多。在您致力于解决方案之前,这绝对值得一看。

I use SIFR in a number of sites, CMSs and web apps.

SIFR's fallback behaviour is quite good, so you don't need to worry much about compatibility. It works fine with all major flash-enabled browsers. Due to the replacement of "native" HTML tags it's perfect for SEO, too.

Setting sIFR up is tricky, be prepared for some initial debugging, changing relative paths, and so on. I tend to forget how to set it up every time, it's not very intuitive. But when it works, it works all right. On older machines, you will notice the split second SIFR needs to do the actual replacement. It can be notable and is not nice. On modern, fast machines you will notice nothing, as long as you just replace a few headlines and such. Sifr is not suitable for replacing entire paragraphs of text.

An alternative I have been meaning to check out some time is Cufon. While many people here like it, I can't say much about it myself. It's definitely also worth a look before you commit yourself to a solution.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文