ColOfAbRiX / figlet4s

ASCII-art banners in Scala
MIT License
39 stars 1 forks source link

Support for vertical alignment #4

Open ColOfAbRiX opened 3 years ago

ColOfAbRiX commented 3 years ago

Description

As a user of the figlet4s library I would like to use different types of vertical layouts as the original figlet does.

Implementation

When wrapping lines figlet can align the next line in different way in a similar way as he places one character after the other. Support the same layout as the original figlet command line does.

The core algorithm should suffice, however, at the moment, is specialized for left-to-right horizontal appending of characters.

Similar features in the wild

See the figlet man page: https://linux.die.net/man/6/figlet