mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +00:00
LibWeb: Set default fantasy font to Comic Book
> Fantasy fonts are primarily decorative or expressive fonts that > contain decorative or expressive representations of characters. https://drafts.csswg.org/css-fonts/#valdef-font-family-fantasy Seems like this font fits this description. :)
This commit is contained in:
parent
d7c27ad11a
commit
ed70a67a49
1 changed files with 2 additions and 1 deletions
|
@ -861,9 +861,10 @@ void StyleComputer::compute_font(StyleProperties& style, DOM::Element const* ele
|
|||
return find_font("Csilla");
|
||||
case ValueID::Serif:
|
||||
return find_font("Roman");
|
||||
case ValueID::Fantasy:
|
||||
return find_font("Comic Book");
|
||||
case ValueID::SansSerif:
|
||||
case ValueID::Cursive:
|
||||
case ValueID::Fantasy:
|
||||
case ValueID::UiSerif:
|
||||
case ValueID::UiSansSerif:
|
||||
case ValueID::UiRounded:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue