f963be11810c1514b3e3a31700720a00a81f4edb
GLSL Glyphs Generator
Generate GLSL ready 8x8 glyph maps and usable functions
Usage
usage: glsl-glyphs [-h] -i INPUT_FILE [-n NAME] -o OUTPUT_FILE [-g NAMES_FILE] [-s SETS_FILE] [-f | --functions | --no-functions]
[-v | --verbose | --no-verbose] [-q | --quiet | --no-quiet]
options:
-h, --help show this help message and exit
-i, --input INPUT_FILE
png 8x8 glyph map
-n, --name NAME target derived name for GLSL constants and functions (default: glyph)
-o, --output OUTPUT_FILE
output glsl file
-g, --glyph-names NAMES_FILE
glyphs names, one line each
-s, --sets SETS_FILE defined sets in CSV: index,length,name
-f, --functions, --no-functions
add GLSL functions to output
-v, --verbose, --no-verbose
more verbose logging
-q, --quiet, --no-quiet
disable logging
More info about included resources
IBM PC CP437
See Why is there a "small house" in IBM's Code page 437? for more info on IBM PC CP437.
Crystalwarrior
Pmlomb
Development
Makefile
Usage: make [target1] [target2] ...
Commands/Targets:
help show this message
install install project
update update project dependencies
run run project
sample-all generate all samples
sample-% generate sample (cp437/cw/pmlomb)
format format project
lint lint project
build build project
uv-sync uv sync
uv-upgrade uv sync upgrade
uv-run uv run (project)
uv-run-sample-% uv run (project) sample/(xxx)
ruff ruff check
ruff-fix ruff check (and fix)
ruff-format ruff format
ruff-format-check ruff format (check only)
ty ty check
release-% release major/minor/patch
TODO
- Initial implementation
- Generate a separate sentences file
- Custom height glyph map
- Custom width glyph map
Releases
2
glsl-glyphs 1.0.1
Latest
Languages
Python
89.4%
Makefile
10.6%