[](https://crates.io/crates/rulet)
[](https://codeberg.org/Leshuguita/rulet)
```
____ _ _ _ _____ _____
_____ | _ \| | | | | | ____|_ _| _____
|_____| | |_) | | | | | | _| | | |_____|
|_____| | _ <| |_| | |___| |___ | | |_____|
|_| \_\\___/|_____|_____| |_|
```
> RUsty LETters
A rust crate for drawing FIGlets.
## Features
- **Horizontal fitting (Kerning) and smushing:**
I followed [this document](http://www.jave.de/figlet/figfont.html) as for how the different smushing rules work. Not all of them are implemented quite yet:
- [x] Kerning (removing spaces between characters)
- [x] Universal Smushing (the first sub-characters of a character overlap the last sub-characters of the previous)
- [ ] Equal Character smushing
- [x] Underscore smushing
- [x] Hierarchy smushing
- [x] Opposite pair smushing
- [x] Big X smushing
- [x] Hardblank smushing
- **Different fonts:**
The [figfont crate](https://crates.io/crates/figfont) is used for loading and parsing fonts. Seems to support everything just fine. No additional fonts are included, you can get some [here](http://www.jave.de/figlet/fonts/overview.html), or wherever else on the internet.
- **Max output width:**
Wraps words if a line is too long. Won't break up words, though.
## Not features (yet?)
- Vertical smushing. I plan to add it at some point
- Maximum output height. I plan to add this too
- Control files. I don't see the point of them, but feel free to ask if you need them.