1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:57:44 +00:00

LibGfx: Allow changing the default font path

This commit is contained in:
Filiph Sandström 2022-02-13 12:59:11 +01:00 committed by Linus Groh
parent 62102e3130
commit 8b7987be86
2 changed files with 16 additions and 1 deletions

View file

@ -39,8 +39,10 @@ public:
static String default_font_query();
static String fixed_width_font_query();
static String default_fonts_lookup_path();
static void set_default_font_query(String);
static void set_fixed_width_font_query(String);
static void set_default_fonts_lookup_path(String);
RefPtr<Gfx::Font> get(const String& family, unsigned size, unsigned weight, unsigned slope);
RefPtr<Gfx::Font> get(const String& family, const String& variant, unsigned size);