mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:07:46 +00:00
LibWeb+WebContent: Add abstraction layer for generic font families
Instead of hard-coding the names of system fonts to use for the CSS generic fonts (like "sans-serif", "monospace", etc.) we now call out to a Platform::FontPlugin and ask for the generic names.
This commit is contained in:
parent
26544f559c
commit
5c2e3d1637
8 changed files with 153 additions and 8 deletions
|
@ -352,6 +352,7 @@ set(SOURCES
|
|||
Painting/StackingContext.cpp
|
||||
Painting/TextPaintable.cpp
|
||||
Platform/EventLoopPlugin.cpp
|
||||
Platform/FontPlugin.cpp
|
||||
Platform/Timer.cpp
|
||||
RequestIdleCallback/IdleDeadline.cpp
|
||||
ResizeObserver/ResizeObserver.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue