mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:58:12 +00:00
LibGfx: Remove Gfx::FontDatabase::default_bold_fixed_width_font()
Ask for a bold_variant() of the default_fixed_width_font() instead.
This commit is contained in:
parent
6a012ad79f
commit
8a6c37deef
7 changed files with 4 additions and 22 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue