diff --git a/Userland/Libraries/LibGfx/Font/FontDatabase.cpp b/Userland/Libraries/LibGfx/Font/FontDatabase.cpp index 79439929b3a..71bd724573f 100644 --- a/Userland/Libraries/LibGfx/Font/FontDatabase.cpp +++ b/Userland/Libraries/LibGfx/Font/FontDatabase.cpp @@ -52,7 +52,7 @@ void FontDatabase::load_all_fonts_from_uri(StringView uri) root->for_each_descendant_file([this](Core::Resource const& resource) -> IterationDecision { auto uri = resource.uri(); auto path = LexicalPath(uri.bytes_as_string_view()); - if (path.has_extension(".ttf"sv)) { + if (path.has_extension(".ttf"sv) || path.has_extension(".ttc"sv)) { // FIXME: What about .otf if (auto font_or_error = Typeface::try_load_from_resource(resource); !font_or_error.is_error()) { auto font = font_or_error.release_value();