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.3.0.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for bitmap_fonts-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87a8bd9231e830c63c1ce8e88d344035a4d0db8d626297688e6d192f8dffd325 |
|
MD5 | fbaed192949fc89dc96f10a3e2686bb2 |
|
BLAKE2b-256 | 5b167bb8acb18322a2438939f18103f638a1fe6a04bed56c1658aa17b73c1bcb |