开发者

How can I solve this font rendering issue on Firefox on OSX? [closed]

开发者 https://www.devze.com 2023-01-11 00:24 出处:网络
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post.
Closed. This question needs details or clarity. It is not currently accepting answers.

Want to improve this question? Add details and clarify the problem by editing this post.

Closed 3 years ago.

Improve this question

I've run into a strange font rendering issue on Firefox on OSX. It seems to be adding an extra pixel above the开发者_运维技巧 font whereas Firefox on Windows does not.

http://hostthenpost.org/uploads/dc9a946ffc5a0198f6b45425c1d91970.png


If you want pixel perfect rendering, you should probably specify a pixel value for the line-height.

From my tests, line-height:14px to match the FF height and line-height:13px to match the Chrome height.

0

精彩评论

暂无评论...
验证码 换一张
取 消