It has come to my attention that the font Helvetica Neue Condensed
is not being rendered properly on macOS. In fact, as shown in the image below, macOS fails to center the font in relation to the line-height
. Based on my tests, this issue seems to be system-dependent rather than browser-specific.
https://i.sstatic.net/oPe1u.png
Comparison of "Test" rendering on macOS (left) and Windows (right)
I have spent several days searching for effective solutions without success. I considered using CSS hacks to target macOS specifically, but Chrome does not support this approach. The only (unfortunately unappealing) solution I discovered was to utilize JavaScript to select all instances of Helvetica Neue Condensed
, wrap them in a span
, and apply the following CSS properties:
display: inline-block; transform: translateY(16%);
. However, this solution is less than ideal as it alters the font after the page loads, resulting in a noticeable shift downward. It's a case where the cure may be worse than the disease.
If you have any suggestions or ideas, I would greatly appreciate hearing them :)
Thank you!