diff --git a/Libraries/LibGfx/Font.h b/Libraries/LibGfx/Font.h index 7e7069ed49..1c6f68d8e8 100644 --- a/Libraries/LibGfx/Font.h +++ b/Libraries/LibGfx/Font.h @@ -159,7 +159,7 @@ private: static RefPtr load_from_memory(const u8*); static size_t glyph_count_by_type(FontTypes type); - void update_x_height() { m_x_height = m_mean_line - m_baseline; }; + void update_x_height() { m_x_height = m_baseline - m_mean_line; }; void set_family_fonts(); RefPtr m_bold_family_font;