Skip to content

Support for Print Direction #10

Description

@ColOfAbRiX

Description

As a user of the figlet4s library I would like to have support for print direction, which is the ability to print the text left-to-right (as per usual western writing) or right-to-left.

Here are the example of what that means.
Left-to-right:

    _    _      ____    _
   / \  | |__  / ___|__| |
  / _ \ | '_ \| |   / _` |
 / ___ \| |_) | |__| (_| |
/_/   \_\_.__/ \____\__,_|

Right-to-left:

                          _  ____ _       _
                       __| |/ ___| |__   / \
                      / _` | |   | '_ \ / _ \
                     | (_| | |___| |_) / ___ \
                      \__,_|\____|_.__/_/   \_\

Implementation

The original command line figlet allows users to print their text left-to-right, right-to-left or use the default setting for the font.

Figlet4s already has the data structures required to support print direction but doesn't implement the algorithm yet.

Similar features in the wild

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions