[Text Overrun] Add option to set custom ellipsis character, add support for system font fallback.

This commit is contained in:
bruvzg 2023-10-01 13:39:13 +03:00
parent d76c1d0e51
commit 56579f397d
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38
20 changed files with 599 additions and 337 deletions

View file

@ -427,6 +427,9 @@ public:
virtual void shaped_text_set_custom_punctuation(const RID &p_shaped, const String &p_punct) = 0;
virtual String shaped_text_get_custom_punctuation(const RID &p_shaped) const = 0;
virtual void shaped_text_set_custom_ellipsis(const RID &p_shaped, int64_t p_char) = 0;
virtual int64_t shaped_text_get_custom_ellipsis(const RID &p_shaped) const = 0;
virtual void shaped_text_set_orientation(const RID &p_shaped, Orientation p_orientation = ORIENTATION_HORIZONTAL) = 0;
virtual Orientation shaped_text_get_orientation(const RID &p_shaped) const = 0;