I recently encountered a unique issue while using two different webfonts in one of my projects. One font seems to be causing a rendering problem that I have never experienced before, while the other font displays correctly.
It appears that the browser is having difficulty determining the size and position of the text when the problematic font is used.
Specifically in Safari:
- When attempting to select text, the selection box appears higher than where the actual text is displayed.
- Clicking on a link requires clicking slightly above the visible text.
In Chrome:
- The selection box for text is rendered much larger than the actual text.
- To click on a link, you need to aim slightly higher than the visible text.
In Firefox, there is less noticeable shifting in text position. However, the text overlay seems slightly smaller or shifted downward.
Has anyone else experienced this issue? Why would it only happen with this particular font?
https://i.sstatic.net/wShFk.png Selecting the first line instead of the third in Safari
https://i.sstatic.net/oaqsp.png Selecting the first line in Chrome
https://i.sstatic.net/IQ6gw.png Selecting the first line in Firefox