Expand description
You can visit figlet and figfont to find more details.
You can visit fontdb to find more fonts.
§Examples
Convert string literals using built-in FIGlet or Toilet fonts:
use figlet_rs::{FIGlet, Toilet};
let standard_font = FIGlet::standard().unwrap();
assert!(standard_font.convert("FIGlet").is_some());
let slant_font = FIGlet::slant().unwrap();
assert!(slant_font.convert("FIGlet").is_some());
let smblock_font = Toilet::smblock().unwrap();
assert!(smblock_font.convert("Toilet").is_some());Structs§
- FIGcharacter
- FIGlet
- FIGlet font, which will hold the mapping from u32 code to FIGcharacter
- FIGure
- Header
Line - Toilet
- Toilet font, which supports loading
.tlffiles, including zip-packaged fonts.