mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Rearranged text
This commit is contained in:
parent
9ba4e10a16
commit
9adb476f37
|
@ -808,10 +808,10 @@ def truetype(
|
||||||
) -> FreeTypeFont:
|
) -> FreeTypeFont:
|
||||||
"""
|
"""
|
||||||
Load a TrueType or OpenType font from a file or file-like object,
|
Load a TrueType or OpenType font from a file or file-like object,
|
||||||
and create a font object. For loading bitmap fonts instead,
|
and create a font object. This function loads a font object from the given
|
||||||
see :py:func:`~PIL.ImageFont.load` and :py:func:`~PIL.ImageFont.load_path`.
|
file or file-like object, and creates a font object for a font of the given
|
||||||
This function loads a font object from the given file or file-like
|
size. For loading bitmap fonts instead, see :py:func:`~PIL.ImageFont.load`
|
||||||
object, and creates a font object for a font of the given size.
|
and :py:func:`~PIL.ImageFont.load_path`.
|
||||||
|
|
||||||
Pillow uses FreeType to open font files. On Windows, be aware that FreeType
|
Pillow uses FreeType to open font files. On Windows, be aware that FreeType
|
||||||
will keep the file open as long as the FreeTypeFont object exists. Windows
|
will keep the file open as long as the FreeTypeFont object exists. Windows
|
||||||
|
|
Loading…
Reference in New Issue
Block a user