1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 07:17:35 +00:00

LibGfx: Remove Gfx::FontDatabase::default_bold_font()

Instead use default_font().bold_variant() in cases where we want a bold
variant of the default font. :^)
This commit is contained in:
Andreas Kling 2021-05-20 18:40:48 +02:00
parent 068ddf4513
commit 6a012ad79f
24 changed files with 33 additions and 46 deletions

View file

@ -51,11 +51,6 @@ TEST_CASE(test_default_bold_fixed_width_font)
EXPECT(!Gfx::FontDatabase::default_bold_fixed_width_font().name().is_null());
}
TEST_CASE(test_default_bold_font)
{
EXPECT(!Gfx::FontDatabase::default_bold_font().name().is_null());
}
TEST_CASE(test_clone)
{
u8 glyph_height = 1;