1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Load and use system emoji font in the editor.

This commit is contained in:
bruvzg
2022-10-31 19:12:18 +02:00
parent e6751549cf
commit 060d62e0dc
5 changed files with 66 additions and 4 deletions

View File

@@ -481,7 +481,16 @@ Error OS_LinuxBSD::shell_open(String p_uri) {
}
bool OS_LinuxBSD::_check_internal_feature_support(const String &p_feature) {
return p_feature == "pc";
#ifdef FONTCONFIG_ENABLED
if (p_feature == "system_fonts") {
return font_config_initialized;
}
#endif
if (p_feature == "pc") {
return true;
}
return false;
}
uint64_t OS_LinuxBSD::get_embedded_pck_offset() const {