A tool to make a PILfont from png images
Project description
pil-font-maker
Extract a png image for each character in a PIL font and store them in a folder. Contruct a PIL font from a folder containing a png image for each character.
Installation
python3 -m pip install pil-font-maker
python setup.py install
in folder where setup.py is located
python -m pip install .
Supported Commands
On a command line type:
pil-font-decode
Usage: pil-font-decode file.pil [folder]
Convert a pil font 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 font. 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 PIL github repository
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pil-font-maker-0.6.0.tar.gz
.
File metadata
- Download URL: pil-font-maker-0.6.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89aebd6881da881ae1175f5416dd8228b661582acc40b9530f485c7debb6a259 |
|
MD5 | ad55788321b2192a432439ea114ed237 |
|
BLAKE2b-256 | 2e5ce586c4299be8fb6ec21d8e8c7ff62d635a75e5bbcb60b3b4c5aff70c58c8 |
File details
Details for the file pil_font_maker-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: pil_font_maker-0.6.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17bf22f1d2cbc298eda767dc20e6ffe3cd531cdb560043ce5ef3cbb405a2d75e |
|
MD5 | 88b1de08f140b13f32207e9e73537359 |
|
BLAKE2b-256 | f761199c6dea2c1b9f78b6ad6aa4c5aeaf08f8cddf448f507d8b24a0a6f546c0 |