ladybird/Libraries/LibWeb/Platform
Tim Ledbetter 77b9fcf7f9 LibWeb+LibWebView: Select generic font families based on requested style
Pass the requested font weight and slope to generic_font_name() and use
them to select the most suitable font family. Families that have the
exact requested weight are strongly preferred, followed by families with
more style variety.

This ensures that when CSS requests bold text with a generic font family
like `serif`, we select a family that actually supports bold weights
rather than one that only has regular weight.

Co-authored-by: Jelle Raaijmakers <jelle@ladybird.org>
2026-03-24 15:08:24 +01:00
..
EventLoopPlugin.cpp LibWeb: Flatten Platform::EventLoopPlugin by merging Serenity impl 2026-02-28 15:32:14 +01:00
EventLoopPlugin.h LibWeb: Flatten Platform::EventLoopPlugin by merging Serenity impl 2026-02-28 15:32:14 +01:00
FontPlugin.cpp LibWeb+LibWebView: Select generic font families based on requested style 2026-03-24 15:08:24 +01:00
FontPlugin.h LibWeb+LibWebView: Select generic font families based on requested style 2026-03-24 15:08:24 +01:00
ImageCodecPlugin.cpp LibWeb+LibWebView+WebContent: Send service sockets over IPC channel 2026-03-12 20:32:55 +01:00
ImageCodecPlugin.h LibWeb+LibWebView+WebContent: Send service sockets over IPC channel 2026-03-12 20:32:55 +01:00
Timer.cpp LibWeb: Flatten Platform::Timer by merging TimerSerenity 2026-02-28 15:32:14 +01:00
Timer.h LibWeb: Flatten Platform::Timer by merging TimerSerenity 2026-02-28 15:32:14 +01:00