Skip to main content

bont

bont is a Python module for converting TrueType fonts to bitmap font texture atlas.

Usage

from pathlib import Path

from bont import generate_bitmap_font

src = Path("/path/to/font.ttf")
dst = Path("/path/to/dst/folder")

generate_bitmap_font(src, dst, size=16)

Development

Create a virtual environment:

uv venv

Install requirements:

uv sync

A note from Andrew

This is a module that I created and maintain for my own personal projects. Please keep the following in mind:

  • Features are added as I need them.
  • Issues are fixed as my time and interest allow.
  • Version updates may introduce breaking changes.

Metadata

Release files for bont 1.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bont 1.4.0
File Size Uploaded
bont-1.4.0.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bont 1.4.0
File Interpreter ABI Platform
bont-1.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.6 kB

Release files / bont-1.4.0.tar.gz

Download URL bont-1.4.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
83117a6ad25d81a0e2e87d16be63e3b84d1ef061ca28b3327e9b8c9e0b0e6688
BLAKE2b-256 checksum
How to use checksums
fd5046566aa1eafdd2a286963a83b0fb6b9272f1f6a9e305daad3c58843d59c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / bont-1.4.0-py3-none-any.whl

Download URL bont-1.4.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3f950beb7974555ae5bd7276d77bb4dcaf62ef3663b2888d775b61a26be95e7
BLAKE2b-256 checksum
How to use checksums
5bd4d206b53618c3a7c3d9fc6c308af6805fd6f006e97c14eef900e23bcd9cc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

1.4.0 This release

2 release files

1.2.0

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page