diff --git a/Userland/Libraries/LibGfx/Font/Typeface.cpp b/Userland/Libraries/LibGfx/Font/Typeface.cpp index e8522f6559..922749bb82 100644 --- a/Userland/Libraries/LibGfx/Font/Typeface.cpp +++ b/Userland/Libraries/LibGfx/Font/Typeface.cpp @@ -61,7 +61,7 @@ void Typeface::set_vector_font(RefPtr font) RefPtr Typeface::get_font(float point_size, Font::AllowInexactSizeMatch allow_inexact_size_match) const { - VERIFY(point_size > 0); + VERIFY(point_size >= 0); if (m_vector_font) return adopt_ref(*new Gfx::ScaledFont(*m_vector_font, point_size, point_size));