mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:47: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:
parent
b71c7a6e44
commit
2e2c717e89
3 changed files with 1 additions and 3 deletions
|
@ -66,7 +66,7 @@ public:
|
|||
virtual float glyph_or_emoji_width(Utf32CodePointIterator&) const override;
|
||||
|
||||
float glyphs_horizontal_kerning(u32, u32) const override { return 0.f; }
|
||||
u8 glyph_height() const override { return m_glyph_height; }
|
||||
u8 glyph_height() const { return m_glyph_height; }
|
||||
int x_height() const override { return m_x_height; }
|
||||
virtual float preferred_line_height() const override { return glyph_height() + m_line_gap; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue