summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-31 14:26:13 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-10-31 14:26:13 +0100
commitcd25e48456e58704f1450954a0c94b1e7fe079f4 (patch)
treed33a215ba5f3ced288ceaaff260f9e687c885dca /doc
parentd43364e3cc3903385750241278caf312869b7cab (diff)
parentc1af9d57a343d9d782f9de4c6e31002c674769e1 (diff)
Merge pull request #67562 from bruvzg/improve_font_packing
Improve font glyph cache packing shelf best height fit heuristic.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/FontFile.xml4
-rw-r--r--doc/classes/TextServer.xml4
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/classes/FontFile.xml b/doc/classes/FontFile.xml
index df378d9d2f..dac822ae2f 100644
--- a/doc/classes/FontFile.xml
+++ b/doc/classes/FontFile.xml
@@ -262,7 +262,7 @@
<param index="1" name="size" type="Vector2i" />
<param index="2" name="texture_index" type="int" />
<description>
- Returns a copy of the array containing the first free pixel in the each column of texture. Should be the same size as texture width or empty.
+ Returns a copy of the array containing glyph packing data.
</description>
</method>
<method name="get_transform" qualifiers="const">
@@ -522,7 +522,7 @@
<param index="2" name="texture_index" type="int" />
<param index="3" name="offset" type="PackedInt32Array" />
<description>
- Sets array containing the first free pixel in the each column of texture. Should be the same size as texture width or empty (for the fonts without dynamic glyph generation support).
+ Sets array containing glyph packing data.
</description>
</method>
<method name="set_transform">
diff --git a/doc/classes/TextServer.xml b/doc/classes/TextServer.xml
index 2512c563c5..0b822a4fe9 100644
--- a/doc/classes/TextServer.xml
+++ b/doc/classes/TextServer.xml
@@ -413,7 +413,7 @@
<param index="1" name="size" type="Vector2i" />
<param index="2" name="texture_index" type="int" />
<description>
- Returns array containing the first free pixel in the each column of texture. Should be the same size as texture width or empty.
+ Returns array containing glyph packing data.
</description>
</method>
<method name="font_get_transform" qualifiers="const">
@@ -824,7 +824,7 @@
<param index="2" name="texture_index" type="int" />
<param index="3" name="offset" type="PackedInt32Array" />
<description>
- Sets array containing the first free pixel in the each column of texture. Should be the same size as texture width or empty.
+ Sets array containing glyph packing data.
</description>
</method>
<method name="font_set_transform">