We can have custom line height so using fontMetrics is incorrect. BUG: 468196
mentioned in commit d511aa80