summaryrefslogtreecommitdiff
path: root/Tests/LibGfx/TestFontHandling.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-05-20 18:40:48 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-20 20:55:29 +0200
commit6a012ad79f95673a36531c27c81e0efa6c6ec664 (patch)
tree54777eacd8382e76f87d578e57ac080cb531c0e1 /Tests/LibGfx/TestFontHandling.cpp
parent068ddf4513281c0aa183552273b3b9a811b78263 (diff)
downloadserenity-6a012ad79f95673a36531c27c81e0efa6c6ec664.zip
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. :^)
Diffstat (limited to 'Tests/LibGfx/TestFontHandling.cpp')
-rw-r--r--Tests/LibGfx/TestFontHandling.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/Tests/LibGfx/TestFontHandling.cpp b/Tests/LibGfx/TestFontHandling.cpp
index 82e209bce0..b2c1e087e4 100644
--- a/Tests/LibGfx/TestFontHandling.cpp
+++ b/Tests/LibGfx/TestFontHandling.cpp
@@ -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;