Replace non-ascii quotes from docstring [ci skip]

This commit is contained in:
Oliver Tonnhofer 2019-05-22 09:12:13 +02:00
parent 3368500f18
commit 26b71998d2

View File

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