[TextServer] Add support for retrieving OpenType name strings.
This commit is contained in:
@@ -334,6 +334,13 @@
|
||||
Returns font OpenType feature set override.
|
||||
</description>
|
||||
</method>
|
||||
<method name="font_get_ot_name_strings" qualifiers="const">
|
||||
<return type="Dictionary" />
|
||||
<param index="0" name="font_rid" type="RID" />
|
||||
<description>
|
||||
Returns [Dictionary] with OpenType font name strings (localized font names, version, description, license information, sample text, etc.).
|
||||
</description>
|
||||
</method>
|
||||
<method name="font_get_oversampling" qualifiers="const">
|
||||
<return type="float" />
|
||||
<param index="0" name="font_rid" type="RID" />
|
||||
|
||||
Reference in New Issue
Block a user