Helvetica Neue的垂直对齐问题 [英] Vertical-alignment issues with Helvetica Neue
问题描述
这是Helvetica Neue的轻微但持久的烦恼(Arial不会发生)
当文本的任何部分以粗体显示时,完全垂直对齐的文本将稍微向下移动.虽然这是一个很小的变化,但是当将粗体和非粗体文本元素并排混合时,它会破坏对齐方式.
例如,参见
This is a minor but persistant annoyance with Helvetica Neue (doesn't happen w Arial)
Text that is perfectly vertically aligned will shift downward slightly when any part of the text is bolded. While it's a small shift, it ruins alignment when mixing bold and non-bold text elements side by side.
See http://jsfiddle.net/ZZ3m6/7/ for example.
Even when explicitly setting line-heights, the shift occurs. How can I stop this?
My experience is not to even bother with Helvetica Neue. Macs come preinstalled with Helvetica anyway and it doesn't have that offsetting issue with bold text that Helvetica Neue has.
Edit: Here's a related question that has some CSS hackery you can use to fix the issue: Helvetica Neue baseline rendering problem with Firefox/Mac
这篇关于Helvetica Neue的垂直对齐问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!