Linux: Fix incorrect scaling for fallback fonts when the font has an underscore that renders out of bounds

The calc_cell_height() function should not use underscore heights when
called in contexts other than cell metrics calculation.

Fixes #1713
This commit is contained in:
Kovid Goyal
2019-06-30 08:51:35 +05:30
parent 0be6c9cb97
commit cde69670ba
2 changed files with 12 additions and 4 deletions

View File

@@ -29,6 +29,10 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
- macOS: Reduce energy consumption when idle by shutting down Apple's display
link thread after 30 second of inactivity (:iss:`1763`)
- Linux: Fix incorrect scaling for fallback fonts when the font has an
underscore that renders out of bounds (:iss:`1713`)
0.14.2 [2019-06-09]
---------------------