mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
Ladybird+LibCore+Meta: Update font paths and names for Android
We also disable fontconfig, because it doesn't have support for Android.
This commit is contained in:
committed by
Andrew Kaster
parent
feababea74
commit
cdd91f4b48
@@ -206,6 +206,10 @@ ErrorOr<Vector<String>> StandardPaths::font_directories()
|
||||
"/System/Library/Fonts"_string,
|
||||
"/Library/Fonts"_string,
|
||||
TRY(String::formatted("{}/Library/Fonts"sv, home_directory())),
|
||||
# elif defined(AK_OS_ANDROID)
|
||||
// FIXME: We should be using the ASystemFontIterator NDK API here.
|
||||
// There is no guarantee that this will continue to exist on future versions of Android.
|
||||
"/system/fonts"_string,
|
||||
# else
|
||||
TRY(String::formatted("{}/fonts"sv, data_directory())),
|
||||
TRY(String::formatted("{}/X11/fonts"sv, data_directory())),
|
||||
|
||||
Reference in New Issue
Block a user