Skip to main content

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

python -m pip install pil-font-maker

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 pillow github repository

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pil-font-maker-0.7.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

pil_font_maker-0.7.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file pil-font-maker-0.7.0.tar.gz.

File metadata

  • Download URL: pil-font-maker-0.7.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.7

File hashes

Hashes for pil-font-maker-0.7.0.tar.gz
Algorithm Hash digest
SHA256 52fabf2c44b0222b1bc98e7b0a0e5e3da69e869bffbf56770b523b2e238d0a82
MD5 baf0ef1ec6d1a9255605beb6ebe0a676
BLAKE2b-256 16ef7e90cc666047e158595f12a5c8afe5517321a5b81286656db1c3b6c89aa4

See more details on using hashes here.

File details

Details for the file pil_font_maker-0.7.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pil_font_maker-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d5952bdcbd69f3468226eca79e07924e322836a36f022b8f4bdc6430d51bdf65
MD5 de7c92df51e6fe0c037ed43159a50678
BLAKE2b-256 eac2738e4c4d03ca976a54527d062c410113435284c8ca8a4432bc405d25ba0b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page