Everywhere: Remove bitmap emojis inherited from SerenityOS

These are no longer used since we switched to using the system emoji
font.
This commit is contained in:
Aliaksandr Kalenik
2024-09-06 01:28:24 +02:00
committed by Tim Flynn
parent ec315667f0
commit 4e9d6a543a
2024 changed files with 0 additions and 2399 deletions

View File

@@ -33,11 +33,6 @@ FontPlugin::FontPlugin(bool is_layout_test_mode)
for (auto const& path : Core::StandardPaths::font_directories().release_value_but_fixme_should_propagate_errors())
Gfx::FontDatabase::the().load_all_fonts_from_uri(MUST(String::formatted("file://{}", path)));
auto emoji_path = MUST(Core::Resource::load_from_uri("resource://emoji"sv));
VERIFY(emoji_path->is_directory());
Gfx::Emoji::set_emoji_lookup_path(emoji_path->filesystem_path());
update_generic_fonts();
auto default_font_name = generic_font_name(Web::Platform::GenericFont::UiSansSerif);

View File

@@ -1,6 +1,3 @@
file(STRINGS "${LADYBIRD_SOURCE_DIR}/Meta/emoji-file-list.txt" EMOJI)
list(TRANSFORM EMOJI PREPEND "${LADYBIRD_SOURCE_DIR}/Base/res/emoji/")
set(FONTS
SerenitySans-Regular.ttf
)
@@ -131,10 +128,6 @@ endfunction()
function(copy_resources_to_build base_directory bundle_target)
add_custom_target("${bundle_target}_build_resource_files")
copy_resource_set(emoji RESOURCES ${EMOJI}
DESTINATION ${base_directory} TARGET ${bundle_target}
)
copy_resource_set(fonts RESOURCES ${FONTS}
DESTINATION ${base_directory} TARGET ${bundle_target}
)