1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:58:11 +00:00

LibWeb: Set default serif font to Roman

It's the only Serif font we have, so let's use it!
This commit is contained in:
Karol Kosek 2022-02-19 21:39:30 +01:00 committed by Andreas Kling
parent 056ca62778
commit d7c27ad11a

View file

@ -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: