https://github.com/m-col/bdf2flf
Convert BDF bitmap fonts to flf fonts for figlet
https://github.com/m-col/bdf2flf
Last synced: 7 months ago
JSON representation
Convert BDF bitmap fonts to flf fonts for figlet
- Host: GitHub
- URL: https://github.com/m-col/bdf2flf
- Owner: m-col
- Created: 2023-03-05T02:00:38.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-05T02:01:42.000Z (almost 3 years ago)
- Last Synced: 2025-03-12T17:17:15.627Z (10 months ago)
- Language: C
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.rst
Awesome Lists containing this project
README
██ ██ ████ ████ ████ ████
██ ██ ██ ██████ ██ ██ ██
██████ ██████ ████████ ██ ████████ ██ ████████
██ ██ ██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██████ ██ ████████ ██ ██████ ██
Convert BDF bitmap fonts to flf FIGfonts for figlet.
Usage
-----
bdf2flf simply takes BDF data from stdin and outputs flf data to stdout:
$ bdf2flf < myfont.bdf > myfont.flf
By default, the pixels that form the letters are represented by '#', with the
spaces represented by ' '. This can be changed using other tools:
$ bdf2flf < Tamzen5x9r.bdf | sed 's/#/██/g; s/ / /g' > Tamzen5x9r.flf
This last example is what was used the make the header above (Tamzen font:
https://github.com/sunaku/tamzen-font).
To install
----------
$ make
$ sudo make install
To uninstall
------------
$ sudo make uninstall
Contact
-------
Email me @ mcol@posteo.net for questions or patches.