Skip to content

Commit

Permalink
Merge pull request #5040 from radarhere/bcp
Browse files Browse the repository at this point in the history
Fixed link formatting
  • Loading branch information
hugovk committed Nov 14, 2020
2 parents 0bb6a19 + 4f0b918 commit ce70a3d
Showing 1 changed file with 6 additions and 6 deletions.
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

0 comments on commit ce70a3d

Please sign in to comment.