[TextServer] Store font extra spacing variations without making a full copy of font.
This commit is contained in:
@ -15,6 +15,13 @@
|
||||
Creates a new, empty font cache entry resource. To free the resulting resource, use the [method free_rid] method.
|
||||
</description>
|
||||
</method>
|
||||
<method name="create_font_linked_variation">
|
||||
<return type="RID" />
|
||||
<param index="0" name="font_rid" type="RID" />
|
||||
<description>
|
||||
Creates a new variation existing font which is reusing the same glyph cache and font data. To free the resulting resource, use the [method free_rid] method.
|
||||
</description>
|
||||
</method>
|
||||
<method name="create_shaped_text">
|
||||
<return type="RID" />
|
||||
<param index="0" name="direction" type="int" enum="TextServer.Direction" default="0" />
|
||||
|
||||
Reference in New Issue
Block a user