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.1.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for bitmap_fonts-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf8df05227f694834cc466ffbd036c4ad3b1fd5d74b03a37c22c5ef26bd21a31 |
|
MD5 | f04d373fdb72437892ab3e9f1969ca70 |
|
BLAKE2b-256 | a9b8f91382786cb1e3605b4f8f93c5d3c4570b06a97e39f96ec705f822de8e4e |