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.2.2.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for bitmap_fonts-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5292f78ee84a502d541bcea6a0d78c7fb8372bb943f6e75a037eefff56230928 |
|
MD5 | b65658ce09661a2900b4aabff57e4b7b |
|
BLAKE2b-256 | 9caeff311efb60ca4e6a805deb6f97d26a3a9d805325f026cab11be47bf61771 |