diff --git a/Userland/Libraries/LibGfx/Font/BitmapFont.h b/Userland/Libraries/LibGfx/Font/BitmapFont.h index b1f77d444b..57687ec02f 100644 --- a/Userland/Libraries/LibGfx/Font/BitmapFont.h +++ b/Userland/Libraries/LibGfx/Font/BitmapFont.h @@ -43,7 +43,6 @@ public: void set_presentation_size(u8 size) { m_presentation_size = size; } virtual float pixel_size() const override { return m_glyph_height; } - virtual float point_size() const override { return static_cast(m_glyph_height) * 0.75f; } u16 weight() const override { return m_weight; } void set_weight(u16 weight) { m_weight = weight; } diff --git a/Userland/Libraries/LibGfx/Font/Font.h b/Userland/Libraries/LibGfx/Font/Font.h index 0ae909ffcb..07f3fce80f 100644 --- a/Userland/Libraries/LibGfx/Font/Font.h +++ b/Userland/Libraries/LibGfx/Font/Font.h @@ -142,7 +142,6 @@ public: virtual u8 presentation_size() const = 0; virtual float pixel_size() const = 0; - virtual float point_size() const = 0; virtual u8 slope() const = 0; virtual u16 weight() const = 0; diff --git a/Userland/Libraries/LibGfx/Font/ScaledFont.h b/Userland/Libraries/LibGfx/Font/ScaledFont.h index 25c037893d..6644ce3ea2 100644 --- a/Userland/Libraries/LibGfx/Font/ScaledFont.h +++ b/Userland/Libraries/LibGfx/Font/ScaledFont.h @@ -44,7 +44,6 @@ public: virtual ErrorOr> try_clone() const override { return *this; } virtual u8 presentation_size() const override { return m_point_height; } virtual float pixel_size() const override { return m_point_height * 1.33333333f; } - virtual float point_size() const override { return m_point_height; } virtual Gfx::FontPixelMetrics pixel_metrics() const override; virtual u8 slope() const override { return m_font->slope(); } virtual u16 weight() const override { return m_font->weight(); }