summaryrefslogtreecommitdiff
path: root/doc/api.texi
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2020-12-05 13:05:33 -0500
committerDavid Thompson <dthompson2@worcester.edu>2020-12-05 13:05:33 -0500
commitf4df3a7ac08bb6c50956bf27534d4f51423ec863 (patch)
tree10842f0239775a233a8a8f3035cbb0063c4ee20d /doc/api.texi
parent04f8a22e3f1570dc3ccf75449ee31bd43bfa8353 (diff)
ttf: Return multiple values instead of a list in font-size.
Diffstat (limited to 'doc/api.texi')
-rw-r--r--doc/api.texi5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/api.texi b/doc/api.texi
index 2ce58b9..7b19651 100644
--- a/doc/api.texi
+++ b/doc/api.texi
@@ -1559,9 +1559,8 @@ Return the recommended pixel height of a line of text using
@end deffn
@deffn {Procedure} font-size-text font text
-Return a 2-element list containing the resulting surface size of the
-string @var{text} using @var{font} in the following format:
-@code{(width height)}.
+Return 2 values for the resulting surface size of the string
+@var{text} using @var{font}.
@end deffn
@deffn {Procedure} font-glyph-index font char