rulet

Crates.iorulet
lib.rsrulet
version2.0.0
sourcesrc
created_at2024-09-26 03:21:41.006935
updated_at2024-10-02 20:23:01.893579
descriptionA rusty figlet implementation
homepage
repositoryhttps://codeberg.org/Leshuguita/rulet
max_upload_size
id1386928
size19,078
(Leshuguita)

documentation

README

Crates.io Version Codegeberg

          ____  _   _ _     _____ _____         
  _____  |  _ \| | | | |   | ____|_   _|  _____
 |_____| | |_) | | | | |   |  _|   | |   |_____|
 |_____| |  _ <| |_| | |___| |___  | |   |_____|
         |_| \_\\___/|_____|_____| |_|          
                                                

RUsty LETters

A rust crate for drawing FIGlets.

Features

  • Horizontal fitting (Kerning) and smushing:

    I followed this document as for how the different smushing rules work. Not all of them are implemented quite yet:

    • Kerning (removing spaces between characters)
    • Universal Smushing (the first sub-characters of a character overlap the last sub-characters of the previous)
    • Equal Character smushing
    • Underscore smushing
    • Hierarchy smushing
    • Opposite pair smushing
    • Big X smushing
    • Hardblank smushing
  • Different fonts:

    The figfont crate is used for loading and parsing fonts. Seems to support everything just fine. No additional fonts are included, you can get some here, 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.
Commit count: 0

cargo fmt