pil-font-maker
Extract a PNG image for each character in a PIL ImageFont and store them in a folder. Construct a PIL ImageFont from a folder containing a PNG image for each character.
This is my answer to how-to-use-my-own-bitmap-font-in-pil-imagefont
Installation
Requires Python 3.11 or newer.
python -m pip install pil-font-maker
Supported Commands
On a command line type:
pil-font-decode
Usage: pil-font-decode <file.pil> [folder]
To convert a .pil/.pbm ImageFont to a folder containing a .png for each character present
pil-font-encode
Usage: pil-font-encode <folder> [file.pil]
Convert a folder containing a .png for each character to a .pil/.pbm ImageFont. The PNGs should be named char_0.png, char_1.png up to char_255.png Omitted PNGs will result in empty characters.
pil-font-download
Usage: pil-font-download
Download some sample PIL ImageFonts from the pillow GitHub repository
Metadata
Release files for pil-font-maker 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pil_font_maker-1.0.1.tar.gz | 9.3 kB | With provenance | Details for pil_font_maker-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pil_font_maker-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for pil_font_maker-1.0.1-py3-none-any.whl |
Total release size: 17.2 kB
Release files / pil_font_maker-1.0.1.tar.gz
| Download URL | pil_font_maker-1.0.1.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c50f3db44122479b9368a08ea734467bd7bc92cead81943c53d2d5cbfbd09908
|
|
BLAKE2b-256 checksum How to use checksums |
c3f94b3e478976c039040031c060c8024c1505a7c815ca58e109b87e92675b47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logRelease files / pil_font_maker-1.0.1-py3-none-any.whl
| Download URL | pil_font_maker-1.0.1-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
756381d2e4ad8191548fc9d4106230f4f70e062fc898e1f4c760223838d84f83
|
|
BLAKE2b-256 checksum How to use checksums |
0fa001636d14e5a9960275e2ed987a04fb7ce211c8ccd55de4f3131d59c27415
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logSecurity for pil-font-maker 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pil_font_maker-1.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.