From 9fb7f7fcebed4cea92c7826f1244a81e5828851a Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Wed, 1 Mar 2023 08:44:34 -0500 Subject: [PATCH] Ladybird: Specify the emoji image path in Ladybird's font plugin --- Ladybird/FontPluginQt.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Ladybird/FontPluginQt.cpp b/Ladybird/FontPluginQt.cpp index 7242b15061d..78fd7125693 100644 --- a/Ladybird/FontPluginQt.cpp +++ b/Ladybird/FontPluginQt.cpp @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -31,6 +32,8 @@ FontPluginQt::FontPluginQt() Gfx::FontDatabase::set_default_font_query("Katica 10 400 0"); Gfx::FontDatabase::set_fixed_width_font_query("Csilla 10 400 0"); + Gfx::Emoji::set_emoji_lookup_path(String::formatted("{}/res/emoji", s_serenity_resource_root).release_value_but_fixme_should_propagate_errors()); + update_generic_fonts(); auto default_font_name = generic_font_name(Web::Platform::GenericFont::UiSansSerif);