From d7c27ad11a18a4ed030b9a5dbf8c06d772c81a9f Mon Sep 17 00:00:00 2001 From: Karol Kosek Date: Sat, 19 Feb 2022 21:39:30 +0100 Subject: [PATCH] LibWeb: Set default serif font to Roman It's the only Serif font we have, so let's use it! --- Userland/Libraries/LibWeb/CSS/StyleComputer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Libraries/LibWeb/CSS/StyleComputer.cpp b/Userland/Libraries/LibWeb/CSS/StyleComputer.cpp index adebde9d62..032cc18861 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleComputer.cpp +++ b/Userland/Libraries/LibWeb/CSS/StyleComputer.cpp @@ -860,6 +860,7 @@ void StyleComputer::compute_font(StyleProperties& style, DOM::Element const* ele monospace = true; return find_font("Csilla"); case ValueID::Serif: + return find_font("Roman"); case ValueID::SansSerif: case ValueID::Cursive: case ValueID::Fantasy: