Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/PIL/ImageFont.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def getlength(self, text, mode="", direction=None, features=None, language=None)
the font which language the text is in, and to apply the
correct substitutions as appropriate, if available.
It should be a `BCP 47 language code
<https://www.w3.org/International/articles/language-tags/>`
<https://www.w3.org/International/articles/language-tags/>`_
Requires libraqm.

:return: Width for horizontal, height for vertical text.
Expand Down Expand Up @@ -338,7 +338,7 @@ def getbbox(
the font which language the text is in, and to apply the
correct substitutions as appropriate, if available.
It should be a `BCP 47 language code
<https://www.w3.org/International/articles/language-tags/>`
<https://www.w3.org/International/articles/language-tags/>`_
Requires libraqm.

:param stroke_width: The width of the text stroke.
Expand Down Expand Up @@ -398,7 +398,7 @@ def getsize(
the font which language the text is in, and to apply the
correct substitutions as appropriate, if available.
It should be a `BCP 47 language code
<https://www.w3.org/International/articles/language-tags/>`
<https://www.w3.org/International/articles/language-tags/>`_
Requires libraqm.

.. versionadded:: 6.0.0
Expand Down Expand Up @@ -455,7 +455,7 @@ def getsize_multiline(
the font which language the text is in, and to apply the
correct substitutions as appropriate, if available.
It should be a `BCP 47 language code
<https://www.w3.org/International/articles/language-tags/>`
<https://www.w3.org/International/articles/language-tags/>`_
Requires libraqm.

.. versionadded:: 6.0.0
Expand Down Expand Up @@ -539,7 +539,7 @@ def getmask(
the font which language the text is in, and to apply the
correct substitutions as appropriate, if available.
It should be a `BCP 47 language code
<https://www.w3.org/International/articles/language-tags/>`
<https://www.w3.org/International/articles/language-tags/>`_
Requires libraqm.

.. versionadded:: 6.0.0
Expand Down Expand Up @@ -625,7 +625,7 @@ def getmask2(
the font which language the text is in, and to apply the
correct substitutions as appropriate, if available.
It should be a `BCP 47 language code
<https://www.w3.org/International/articles/language-tags/>`
<https://www.w3.org/International/articles/language-tags/>`_
Requires libraqm.

.. versionadded:: 6.0.0
Expand Down