summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-05-20 18:55:23 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-20 20:55:29 +0200
commit8a6c37deef4913d44aae61385d702f92a01c314b (patch)
tree41ec009b25c8a83f051c994acccaa6e98ea4dd1f /Userland/Libraries/LibWeb
parent6a012ad79f95673a36531c27c81e0efa6c6ec664 (diff)
downloadserenity-8a6c37deef4913d44aae61385d702f92a01c314b.zip
LibGfx: Remove Gfx::FontDatabase::default_bold_fixed_width_font()
Ask for a bold_variant() of the default_fixed_width_font() instead.
Diffstat (limited to 'Userland/Libraries/LibWeb')
-rw-r--r--Userland/Libraries/LibWeb/CSS/StyleProperties.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/StyleProperties.cpp b/Userland/Libraries/LibWeb/CSS/StyleProperties.cpp
index 5fa06a9b31..f08ec06fa9 100644
--- a/Userland/Libraries/LibWeb/CSS/StyleProperties.cpp
+++ b/Userland/Libraries/LibWeb/CSS/StyleProperties.cpp
@@ -194,7 +194,7 @@ void StyleProperties::load_font() const
RefPtr<Gfx::Font> StyleProperties::font_fallback(bool monospace, bool bold) const
{
if (monospace && bold)
- return Gfx::FontDatabase::default_bold_fixed_width_font();
+ return Gfx::FontDatabase::default_fixed_width_font().bold_variant();
if (monospace)
return Gfx::FontDatabase::default_fixed_width_font();