summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/FontDatabase.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGfx/FontDatabase.h')
-rw-r--r--Userland/Libraries/LibGfx/FontDatabase.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGfx/FontDatabase.h b/Userland/Libraries/LibGfx/FontDatabase.h
index 7ad5f8b691..4f75ee5c88 100644
--- a/Userland/Libraries/LibGfx/FontDatabase.h
+++ b/Userland/Libraries/LibGfx/FontDatabase.h
@@ -37,6 +37,11 @@ public:
static Font& default_font();
static Font& default_fixed_width_font();
+ static String default_font_query();
+ static String fixed_width_font_query();
+ static void set_default_font_query(String);
+ static void set_fixed_width_font_query(String);
+
RefPtr<Gfx::Font> get(const String& family, unsigned size, unsigned weight);
RefPtr<Gfx::Font> get(const String& family, const String& variant, unsigned size);
RefPtr<Gfx::Font> get_by_name(const StringView&);