43 lines
1.5 KiB
Markdown
43 lines
1.5 KiB
Markdown
[](https://git.klemek.fr/klemek/glsl-glyphs/actions?workflow=lint.yml)
|
|
|
|
# GLSL Glyphs Generator
|
|
|
|
> Generate GLSL ready 8x8 glyph maps and usable functions
|
|
|
|
## Usage
|
|
|
|
```txt
|
|
usage: glsl_glyphs [-h] -i SOURCE_IMAGE_PATH -o TARGET_PATH [-n SOURCE_NAMES_PATH] [-s SOURCE_SETS_PATH] [--functions | --no-functions]
|
|
[--verbose | --no-verbose] [--quiet | --no-quiet]
|
|
|
|
options:
|
|
-h, --help show this help message and exit
|
|
-i, --input SOURCE_IMAGE_PATH
|
|
png 8x8 glyph map
|
|
-o, --output TARGET_PATH
|
|
output glsl file
|
|
-n, --names SOURCE_NAMES_PATH
|
|
character names, one line each
|
|
-s, --sets SOURCE_SETS_PATH
|
|
defined sets in CSV: index,length,name
|
|
--functions, --no-functions
|
|
add GLSL functions to output (default)
|
|
--verbose, --no-verbose
|
|
more verbose logging
|
|
--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?](https://blog.glyphdrawing.club/why-is-there-a-small-house-in-ibm-s-code-page-437/) for more info on IBM PC CP437.
|
|
|
|
### Crystalwarrior
|
|
|
|
See [1 bit by Crystalwarrior](https://alex-noir.itch.io/1-bit-by-cw)
|
|
|
|
### Pmlomb
|
|
|
|
See [8x8 1 bit pixel set](https://opengameart.org/content/8x8-1-bit-pixel-set)
|