mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-04 23:30:20 +00:00
LibWeb: Store FontCascadeList instead of Font in CanvasState
This is required to implement per-glyph font fallbacks in the upcoming changes.
This commit is contained in:
parent
455700d379
commit
2c64c6d773
Notes:
github-actions[bot]
2025-04-21 07:52:30 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 2c64c6d773
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4409
4 changed files with 22 additions and 20 deletions
|
@ -144,7 +144,7 @@ private:
|
|||
|
||||
void did_draw(Gfx::FloatRect const&);
|
||||
|
||||
RefPtr<Gfx::Font const> current_font();
|
||||
RefPtr<Gfx::FontCascadeList const> font_cascade_list();
|
||||
|
||||
PreparedText prepare_text(ByteString const& text, float max_width = INFINITY);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue