pil-font-maker
Extract a png image for each character in a PIL ImageFont and store them in a folder. Contruct a PIL ImageFont from a folder containing a png image for each character.
Installation
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 upto char_255.png Omitted pngs will result in empty characters.
pil-font-download
Usage: pil-font-download
Download some sample pil fonts from the pillow github repository
Release files for pil-font-maker 0.9.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pil-font-maker-0.9.7.tar.gz | 6.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pil_font_maker-0.9.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.9 kB
Release files / pil-font-maker-0.9.7.tar.gz
| Download URL | pil-font-maker-0.9.7.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6dfd0c2bec5fd89f9fe8fdc292575fd19655dda621634523f5c63a72b69a70a7
|
|
BLAKE2b-256 checksum How to use checksums |
9709ddb03e21da195cdca9342d56c0d302f074969b6880c523ca6ee8eb943bb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|
Release files / pil_font_maker-0.9.7-py3-none-any.whl
| Download URL | pil_font_maker-0.9.7-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd3b1e98999c98b1135b19e83e7f08404478f94b274e049661790908598d7828
|
|
BLAKE2b-256 checksum How to use checksums |
6602e28c73027f1a4c44e372ba09a531d7d354ef97b567dfb8c74e3bc98b3e08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|