Use system fonts as fallback and improve system font handling.
Add support for font weight and stretch selection when using system fonts. Add function to get system fallback font from a font name, style, text, and language code. Implement system font support for Android. Use system fonts as a last resort fallback.
This commit is contained in:
parent
015dc492de
commit
ecec415988
51 changed files with 2756 additions and 150 deletions
|
|
@ -353,7 +353,7 @@ bool PList::load_file(const String &p_filename) {
|
|||
} else {
|
||||
// Load text plist.
|
||||
Error err;
|
||||
Vector<uint8_t> array = FileAccess::get_file_as_array(p_filename, &err);
|
||||
Vector<uint8_t> array = FileAccess::get_file_as_bytes(p_filename, &err);
|
||||
ERR_FAIL_COND_V(err != OK, false);
|
||||
|
||||
String ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue