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

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

问题描述

我在 Photoshop 中有一些文本 &它设置为脆".当我把它放在我的网站上时,它看起来不太一样.

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?

或者您有什么建议可以达到类似的效果?

Or do you have any suggestions to achieve a similar effect?

推荐答案

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

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天全站免登陆