mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:47:46 +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
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue