From 79b57ef094fec7264ae24cd447e8ffcb4f93aaca Mon Sep 17 00:00:00 2001 From: Aliaksandr Kalenik Date: Tue, 3 Sep 2024 22:39:41 +0200 Subject: [PATCH] LibGfx/Font: Remove unused ScaledFont::glyph_metrics() --- Userland/Libraries/LibGfx/Font/ScaledFont.h | 1 - 1 file changed, 1 deletion(-) diff --git a/Userland/Libraries/LibGfx/Font/ScaledFont.h b/Userland/Libraries/LibGfx/Font/ScaledFont.h index a80704d8dc2..5a1e22dbabd 100644 --- a/Userland/Libraries/LibGfx/Font/ScaledFont.h +++ b/Userland/Libraries/LibGfx/Font/ScaledFont.h @@ -20,7 +20,6 @@ class ScaledFont final : public Gfx::Font { public: ScaledFont(NonnullRefPtr, float point_width, float point_height, unsigned dpi_x = DEFAULT_DPI, unsigned dpi_y = DEFAULT_DPI); ScaledFontMetrics metrics() const { return m_typeface->metrics(m_x_scale, m_y_scale); } - ScaledGlyphMetrics glyph_metrics(u32 glyph_id) const { return m_typeface->glyph_metrics(glyph_id, m_x_scale, m_y_scale, m_point_width, m_point_height); } // ^Gfx::Font virtual float point_size() const override;