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.1.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for bitmap_fonts-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04c4e930309f46c0322b7305437df709ae701712201c388a03bdd20eedfbf1ec |
|
MD5 | ce0ed75d0991dc00a3d35b170c6ad732 |
|
BLAKE2b-256 | 7e50ca14922817bb99107948c73a1e4b242344cbe2f56d7e9061d955f77e011e |