Creation of bitmap fonts useful in OpenGL context.
Project description
Bitmap fonts
Bitmap fonts are useful in generating text messages in OpenGL contexts. This utility allows to convert a TTF font file into a bitmap font.
Description
The script create-font-texture
should be self-explanatory.
Installation
pip install bitmap-fonts
Usage
create-font-texture UbuntuMono-Regular.ttf
font_file_name: UbuntuMono-Regular.ttf
size: 512
char_size: 32
ubuntumono-regular-iso-8859-1.png
Authors and acknowledgment
Peter Koval koval.peter@gmail.com
License
MIT,
the font UbuntuMono-Regular.ttf has an Ubuntu font license 1.0
Project status
Already useful
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
bitmap-fonts-0.1.3.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for bitmap_fonts-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bca8959f95ea12f4a4159ae65b62eb60514ac6b42202c17fda8f34404a78d0c |
|
MD5 | f578ce6b01c5ac6c4a244ba98ed37e3c |
|
BLAKE2b-256 | 28ce606ed5d26a0baf2e017b099f255f5fa0747f0a1e32f5d52d2e32849a07e3 |