summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/FontDatabase.cpp
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/LibGfx/FontDatabase.cpp
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/LibGfx/FontDatabase.cpp')
-rw-r--r--Userland/Libraries/LibGfx/FontDatabase.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/Userland/Libraries/LibGfx/FontDatabase.cpp b/Userland/Libraries/LibGfx/FontDatabase.cpp
index b71bc61c01..d059de5f94 100644
--- a/Userland/Libraries/LibGfx/FontDatabase.cpp
+++ b/Userland/Libraries/LibGfx/FontDatabase.cpp
@@ -44,16 +44,6 @@ Font& FontDatabase::default_fixed_width_font()
return *font;
}
-Font& FontDatabase::default_bold_fixed_width_font()
-{
- static Font* font;
- if (!font) {
- font = FontDatabase::the().get_by_name("Csilla 10 700");
- VERIFY(font);
- }
- return *font;
-}
-
struct FontDatabase::Private {
HashMap<String, RefPtr<Gfx::Font>> full_name_to_font_map;
Vector<RefPtr<Typeface>> typefaces;