1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 21:57:35 +00:00

LibGfx: Remove Font::glyph_height() virtual

The override on BitmapFont remains, as that is actually used within
the FontEditor program.
This commit is contained in:
Andreas Kling 2023-03-03 19:37:35 +01:00
parent b71c7a6e44
commit 2e2c717e89
3 changed files with 1 additions and 3 deletions

View file

@ -51,7 +51,6 @@ public:
virtual float glyph_or_emoji_width(Utf32CodePointIterator&) const override;
virtual float glyphs_horizontal_kerning(u32 left_code_point, u32 right_code_point) const override;
virtual float preferred_line_height() const override { return metrics().height() + metrics().line_gap; }
virtual u8 glyph_height() const override { return pixel_size(); }
virtual int x_height() const override { return m_point_height; } // FIXME: Read from font
virtual u8 min_glyph_width() const override { return 1; } // FIXME: Read from font
virtual u8 max_glyph_width() const override { return m_point_width; } // FIXME: Read from font