Skip to content

Commit

Permalink
Merge pull request #3362 from hugovk/rm-ttb-docs
Browse files Browse the repository at this point in the history
Docs: 'btt' (bottom to top) is not supported by libraqm
  • Loading branch information
radarhere committed Sep 19, 2018
2 parents 4c47628 + 292fa61 commit 2858825
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
20 changes: 8 additions & 12 deletions docs/reference/ImageDraw.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand All @@ -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

Expand All @@ -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

Expand Down
5 changes: 2 additions & 3 deletions docs/reference/ImageFont.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2858825

Please sign in to comment.