[Text Overrun] Add option to set custom ellipsis character, add support for system font fallback.
This commit is contained in:
@ -1243,6 +1243,13 @@
|
||||
Returns array of the composite character boundaries.
|
||||
</description>
|
||||
</method>
|
||||
<method name="shaped_text_get_custom_ellipsis" qualifiers="const">
|
||||
<return type="int" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<description>
|
||||
Returns ellipsis character used for text clipping.
|
||||
</description>
|
||||
</method>
|
||||
<method name="shaped_text_get_custom_punctuation" qualifiers="const">
|
||||
<return type="String" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
@ -1547,6 +1554,14 @@
|
||||
Override ranges should cover full source text without overlaps. BiDi algorithm will be used on each range separately.
|
||||
</description>
|
||||
</method>
|
||||
<method name="shaped_text_set_custom_ellipsis">
|
||||
<return type="void" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
<param index="1" name="char" type="int" />
|
||||
<description>
|
||||
Sets ellipsis character used for text clipping.
|
||||
</description>
|
||||
</method>
|
||||
<method name="shaped_text_set_custom_punctuation">
|
||||
<return type="void" />
|
||||
<param index="0" name="shaped" type="RID" />
|
||||
|
||||
Reference in New Issue
Block a user