Fix: [OSX] Fonts loaded directly from a file have to be registered with CoreText for proper text layout.

This commit is contained in:
Michael Lutz
2021-01-02 23:28:45 +01:00
parent 4bd3d18f34
commit 8c24b2b6ce
3 changed files with 21 additions and 0 deletions

View File

@@ -85,4 +85,6 @@ void MacOSResetScriptCache(FontSize size);
void MacOSSetCurrentLocaleName(const char *iso_code);
int MacOSStringCompare(const char *s1, const char *s2);
void MacOSRegisterExternalFont(const char *file_path);
#endif /* STRING_OSX_H */