Crate figlet_rs

Source
Expand description

you can visit figlet and figfont to find more details. you can visit fongdb to find more font.

§Examples

download small.flf and place it to the resources folder.

convert string literal using standard or specified font:

use figlet_rs::FIGfont;

let standard_font = FIGfont::standard().unwrap();
let figure = standard_font.convert("FIGlet");
assert!(figure.is_some());

let small_font = FIGfont::from_file("resources/small.flf").unwrap();
let figure = small_font.convert("FIGlet");
assert!(figure.is_some());

Structs§

FIGcharacter
the matched ascii art of one character
FIGfont
FIGlet font, which will hold the mapping from u32 code to FIGcharacter
FIGure
the matched ascii arts of string literal
HeaderLine
the first line in FIGlet font, which you can find the documentation headerline