Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
nulano 2020-10-09 16:43:10 +02:00 committed by GitHub
parent c80f123923
commit 9b5931f212
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -308,7 +308,7 @@ class FreeTypeFont:
Returns bounding box (in pixels) of given text relative to given anchor Returns bounding box (in pixels) of given text relative to given anchor
if rendered in font with provided direction, features, and language. if rendered in font with provided direction, features, and language.
Use :py:meth`getlength()` to get the offset of following text with Use :py:meth:`getlength()` to get the offset of following text with
1/64 pixel precision. The bounding box includes extra margins for 1/64 pixel precision. The bounding box includes extra margins for
some fonts, e.g. italics or accents. some fonts, e.g. italics or accents.