1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:57:44 +00:00

LibTTF+LibGfx: Make Gfx::Font::bold_variant() work for TTF fonts

There's no need for this to be a virtual, it's just a font database
lookup and can be done in the Font base class.
This commit is contained in:
Andreas Kling 2021-07-20 02:14:29 +02:00
parent 9f601fcbcf
commit f5e914fb9f
5 changed files with 7 additions and 8 deletions

View file

@ -10,6 +10,7 @@
#include <AK/Utf32View.h>
#include <AK/Utf8View.h>
#include <LibCore/File.h>
#include <LibGfx/FontDatabase.h>
#include <LibTTF/Cmap.h>
#include <LibTTF/Font.h>
#include <LibTTF/Glyf.h>