Repository navigation
Release Notes (since v0.2.0)
This release series brings figlet-rs much closer to native figlet/toilet behavior, expands the bundled font set, and introduces first-class Toilet font support. It also includes one breaking API rename that bumps the crate to 1.0.0.
Highlights
- Rendering now follows the font's built-in FIGlet layout settings, including kerning and smushing behavior.
- Added more bundled FIGlet fonts: big and slant.
- Added Toilet font support, including .tlf files and zip-packaged Toilet fonts.
- Added bundled Toilet fonts: smblock, mono12, future, wideterm, and mono9.
- Renamed FIGfont to FIGlet, with the crate version bumped to 1.0.0.
Added
- New built-in FIGlet font APIs:
- FIGlet::big()
- FIGlet::slant()
- New Toilet type for loading and rendering Toilet fonts.
- New built-in Toilet font APIs:
- Toilet::smblock()
- Toilet::mono12()
- Toilet::future()
- Toilet::wideterm()
- Toilet::mono9()
- Support for loading .tlf font files.
- Support for parsing zip-packaged Toilet fonts.
- Golden fixtures generated from local figlet and toilet binaries to verify rendering output.
- Fixture generation scripts:
- scripts/generate_figlet_fixtures.sh
- scripts/generate_toilet_fixtures.sh
Changed
- Default rendering behavior now matches native figlet more closely by respecting the font header's layout configuration.
- Built-in font resources are now organized under resources/.
- Crate packaging has been tightened to include only the necessary source, resources, and metadata.
- Documentation and examples have been updated to cover both FIGlet and Toilet usage.
- Test fixture naming has been clarified to distinguish figlet_* from toilet_*.
Breaking Changes
- FIGfont has been renamed to FIGlet.
- The crate version is now 1.0.0.
Migration example:
use figlet_rs::FIGlet;instead of:
use figlet_rs::FIGfont;Internal
- Removed legacy Travis CI configuration.
- Refactored parsing/rendering internals and test fixtures without changing the intended public behavior beyond the items above.