mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibGfx+WindowServer: Have WindowServer broadcast system font settings
Instead of everybody getting their system fonts from Gfx::FontDatabase (where it's all hardcoded), they now get it from WindowServer. These are then plumbed into the usual Gfx::FontDatabase places so that the old default_font() and default_fixed_width_font() APIs keep working.
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 17:37:13 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/bb23e61fbff
@@ -3,6 +3,7 @@ endpoint WebContentServer
|
||||
greet() => ()
|
||||
|
||||
update_system_theme(Core::AnonymousBuffer theme_buffer) =|
|
||||
update_system_fonts(String default_font_query, String fixed_width_font_query) =|
|
||||
update_screen_rect(Gfx::IntRect rect) =|
|
||||
|
||||
load_url(URL url) =|
|
||||
|
||||
Reference in New Issue
Block a user