diff --git a/docs/reference/ImageDraw.rst b/docs/reference/ImageDraw.rst index c66fb59dd..7e5192499 100644 --- a/docs/reference/ImageDraw.rst +++ b/docs/reference/ImageDraw.rst @@ -253,9 +253,8 @@ Methods :param align: If the text is passed on to multiline_text(), "left", "center" or "right". :param direction: Direction of the text. It can be 'rtl' (right to - left), 'ltr' (left to right), 'ttb' (top to - bottom) or 'btt' (bottom to top). Requires - libraqm. + left), 'ltr' (left to right) or 'ttb' (top to bottom). + Requires libraqm. .. versionadded:: 4.2.0 @@ -283,9 +282,8 @@ Methods :param spacing: The number of pixels between lines. :param align: "left", "center" or "right". :param direction: Direction of the text. It can be 'rtl' (right to - left), 'ltr' (left to right), 'ttb' (top to - bottom) or 'btt' (bottom to top). Requires - libraqm. + left), 'ltr' (left to right) or 'ttb' (top to bottom). + Requires libraqm. .. versionadded:: 4.2.0 @@ -312,9 +310,8 @@ Methods :param spacing: If the text is passed on to multiline_textsize(), the number of pixels between lines. :param direction: Direction of the text. It can be 'rtl' (right to - left), 'ltr' (left to right), 'ttb' (top to - bottom) or 'btt' (bottom to top). Requires - libraqm. + left), 'ltr' (left to right) or 'ttb' (top to bottom). + Requires libraqm. .. versionadded:: 4.2.0 @@ -339,9 +336,8 @@ Methods :param font: An :py:class:`~PIL.ImageFont.ImageFont` instance. :param spacing: The number of pixels between lines. :param direction: Direction of the text. It can be 'rtl' (right to - left), 'ltr' (left to right), 'ttb' (top to - bottom) or 'btt' (bottom to top). Requires - libraqm. + left), 'ltr' (left to right) or 'ttb' (top to bottom). + Requires libraqm. .. versionadded:: 4.2.0 diff --git a/docs/reference/ImageFont.rst b/docs/reference/ImageFont.rst index 080e52137..55ce3d382 100644 --- a/docs/reference/ImageFont.rst +++ b/docs/reference/ImageFont.rst @@ -67,9 +67,8 @@ Methods .. versionadded:: 1.1.5 :param direction: Direction of the text. It can be 'rtl' (right to - left), 'ltr' (left to right), 'ttb' (top to - bottom) or 'btt' (bottom to top). Requires - libraqm. + left), 'ltr' (left to right) or 'ttb' (top to bottom). + Requires libraqm. .. versionadded:: 4.2.0