1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:17:45 +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:
Andreas Kling 2022-09-08 11:55:12 +02:00
parent 26544f559c
commit 5c2e3d1637
8 changed files with 153 additions and 8 deletions

View file

@ -11,6 +11,7 @@ set(SOURCES
ConnectionFromClient.cpp
ConsoleGlobalObject.cpp
EventLoopPluginSerenity.cpp
FontPluginSerenity.cpp
PageHost.cpp
TimerSerenity.cpp
WebContentClientEndpoint.h