mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 09:44:31 +03:00
Replace non-ascii quotes from docstring [ci skip]
This commit is contained in:
parent
3368500f18
commit
26b71998d2
|
@ -284,8 +284,8 @@ class FreeTypeFont(object):
|
||||||
"""
|
"""
|
||||||
Create a bitmap for the text.
|
Create a bitmap for the text.
|
||||||
|
|
||||||
If the font uses antialiasing, the bitmap should have mode “L” and use a
|
If the font uses antialiasing, the bitmap should have mode ``L`` and use a
|
||||||
maximum value of 255. Otherwise, it should have mode “1”.
|
maximum value of 255. Otherwise, it should have mode ``1``.
|
||||||
|
|
||||||
:param text: Text to render.
|
:param text: Text to render.
|
||||||
:param mode: Used by some graphics drivers to indicate what mode the
|
:param mode: Used by some graphics drivers to indicate what mode the
|
||||||
|
@ -335,8 +335,8 @@ class FreeTypeFont(object):
|
||||||
"""
|
"""
|
||||||
Create a bitmap for the text.
|
Create a bitmap for the text.
|
||||||
|
|
||||||
If the font uses antialiasing, the bitmap should have mode “L” and use a
|
If the font uses antialiasing, the bitmap should have mode ``L`` and use a
|
||||||
maximum value of 255. Otherwise, it should have mode “1”.
|
maximum value of 255. Otherwise, it should have mode ``1``.
|
||||||
|
|
||||||
:param text: Text to render.
|
:param text: Text to render.
|
||||||
:param mode: Used by some graphics drivers to indicate what mode the
|
:param mode: Used by some graphics drivers to indicate what mode the
|
||||||
|
|
Loading…
Reference in New Issue
Block a user