Skip to content

Commit f8dc710

Browse files
committed
Update docstring
1 parent 3afdaf0 commit f8dc710

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/ft2font_wrapper.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,9 +766,10 @@ static PyObject *PyFT2Font_get_width_height(PyFT2Font *self, PyObject *args, PyO
766766
}
767767

768768
const char *PyFT2Font_get_bitmap_offset__doc__ =
769-
"w, h = get_bitmap_offset()\n"
769+
"x, y = get_bitmap_offset()\n"
770770
"\n"
771-
"Get the offset in 26.6 subpixels for the bitmap if ink hangs left or below (0, 0)\n";
771+
"Get the offset in 26.6 subpixels for the bitmap if ink hangs left or below (0, 0).\n"
772+
"Since matplotlib only supports left-to-right text, y is always 0.\n";
772773

773774
static PyObject *PyFT2Font_get_bitmap_offset(PyFT2Font *self, PyObject *args, PyObject *kwds)
774775
{

0 commit comments

Comments
 (0)