mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
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:
parent
30a92911fa
commit
04a6e2f83d
Notes:
sideshowbarker
2024-07-17 04:34:25 +09:00
Author: https://github.com/awesomekling
Commit: 04a6e2f83d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/42
16 changed files with 24 additions and 914 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue