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.4.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for bitmap_fonts-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab836d4602e4736145c3d9be76f6615c01fd168bd4d08b2950cc3724e709fa9e |
|
MD5 | 7107730b21b1b3b777a7f46ae727f25a |
|
BLAKE2b-256 | 37fe1890cd8e988c53ea4992963e9a394ab5cef09984a5caa709fe14552bcb42 |