diff options
author | Christian Persch <chpe@src.gnome.org> | 2022-02-03 20:58:11 +0100 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2022-02-03 20:59:09 +0100 |
commit | d448111db00f3f198a984afa6e7b2a17d97ed856 (patch) | |
tree | 3d6b91827d71617e672ce808f2ccec7d65d5c1b1 | |
parent | e217f867ebbd0792051ccb51d7c1cd3a0555ca67 (diff) | |
download | vte-d448111db00f3f198a984afa6e7b2a17d97ed856.tar.gz |
fonts: Fix height check
(cherry picked from commit 49a4b4b73b75805ff40ccdab93f098d3e7c8962d)
-rw-r--r-- | src/fonts-pangocairo.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fonts-pangocairo.cc b/src/fonts-pangocairo.cc index cd22c83d..296be6fc 100644 --- a/src/fonts-pangocairo.cc +++ b/src/fonts-pangocairo.cc @@ -243,7 +243,7 @@ FontInfo::FontInfo(vte::glib::RefPtr<PangoContext> context) * https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/340 . Therefore * we only use the metrics when its height is at least that which we measured. */ - if (ascent > 0 && height > m_height) { + if (ascent > 0 && height >= m_height) { _vte_debug_print(VTE_DEBUG_PANGOCAIRO, "Using pango metrics\n"); m_ascent = ascent; |