1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:17:45 +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:
Andreas Kling 2021-05-20 18:55:23 +02:00
parent 6a012ad79f
commit 8a6c37deef
7 changed files with 4 additions and 22 deletions

View file

@ -15,7 +15,7 @@
SnakeGame::SnakeGame()
{
set_font(Gfx::FontDatabase::default_bold_fixed_width_font());
set_font(Gfx::FontDatabase::default_fixed_width_font().bold_variant());
m_fruit_bitmaps.append(*Gfx::Bitmap::load_from_file("/res/icons/snake/paprika.png"));
m_fruit_bitmaps.append(*Gfx::Bitmap::load_from_file("/res/icons/snake/eggplant.png"));
m_fruit_bitmaps.append(*Gfx::Bitmap::load_from_file("/res/icons/snake/cauliflower.png"));