CSS支持文本抗锯齿,例如“清脆,清晰等”然而? [英] Does CSS support text anti-aliasing such as "crisp, sharp etc" yet?

查看:343
本文介绍了CSS支持文本抗锯齿,例如“清脆,清晰等”然而?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些文字在Photoshop&它设置为crisp。当我把它放在我的网站上看起来不一样。

I have some text in Photoshop & it's set to "crisp". When I put it on my site it doesn't quite look the same.

在CSS中有什么存在,我可以使用它吗?

Does anything exist in CSS yet that I can use to make it crisp? Or not?

推荐答案

不仅不可能,而且市场上不同的浏览器会执行不同的抗锯齿设置,这意味着您无法获得一致的结果,即使它们不是您想要的。

Not only is it not possible, but different browsers on the market enforce different antialiasing settings, meaning that you can't get consistent results, even if they are not what you want.

有关各种浏览器如何处理字体渲染的好文章,我建议阅读以下内容: http://blog.typekit.com/2010/10/21/type-rendering-web-browsers/

For a good article on how the various browsers deal with font rendering, I'd suggest reading this: http://blog.typekit.com/2010/10/21/type-rendering-web-browsers/

这篇关于CSS支持文本抗锯齿,例如“清脆,清晰等”然而?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆