mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
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:
committed by
Tim Flynn
parent
ec315667f0
commit
4e9d6a543a
@@ -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);
|
||||
|
||||
@@ -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}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user