LibWeb: Remove Gfx::BitmapFont

This class supported the binary bitmap font file format in SerenityOS,
and isn't something we need in Ladybird.
This commit is contained in:
Andreas Kling 2024-06-03 17:14:05 +02:00
commit 04a6e2f83d
Notes: sideshowbarker 2024-07-17 04:34:25 +09:00
16 changed files with 24 additions and 914 deletions

View file

@ -2086,7 +2086,7 @@ RefPtr<Gfx::FontCascadeList const> StyleComputer::compute_font_for_style_values(
return found_font;
}
if (auto found_font = Gfx::FontDatabase::the().get(family, font_size_in_pt, weight, width, slope, Gfx::Font::AllowInexactSizeMatch::Yes)) {
if (auto found_font = Gfx::FontDatabase::the().get(family, font_size_in_pt, weight, width, slope)) {
result->add(*found_font);
return result;
}