Merge pull request #4636 from hugovk/docs-pifont

Link pilfont to its new home in pillow-scripts
This commit is contained in:
Andrew Murray 2020-05-21 08:13:09 +10:00 committed by GitHub
commit 75716a310a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,13 +9,14 @@ this class store bitmap fonts, and are used with the
:py:meth:`PIL.ImageDraw.Draw.text` method. :py:meth:`PIL.ImageDraw.Draw.text` method.
PIL uses its own font file format to store bitmap fonts. You can use the PIL uses its own font file format to store bitmap fonts. You can use the
:command:`pilfont` utility to convert BDF and PCF font descriptors (X window :command:`pilfont` utility from
font formats) to this format. `pillow-scripts <https://pypi.org/project/pillow-scripts/>`_
to convert BDF and PCF font descriptors (X window font formats) to this format.
Starting with version 1.1.4, PIL can be configured to support TrueType and Starting with version 1.1.4, PIL can be configured to support TrueType and
OpenType fonts (as well as other font formats supported by the FreeType OpenType fonts (as well as other font formats supported by the FreeType
library). For earlier versions, TrueType support is only available as part of library). For earlier versions, TrueType support is only available as part of
the imToolkit package the imToolkit package.
Example Example
------- -------