Skip to content

Support for font layout parameters (kerning and "smooshing") #2

@broofa

Description

@broofa

Per the FIFFont and FIGDriver standard, font authors may provide layout parameters to control kerning and "smushing". It appears these are not honored by this module.

Expected:
Over on https://www.askapache.com/online-tools/figlet-ascii/, if we render the string, "Testing" using the "small" font, we get this:

 _____       _   _           
|_   _|__ __| |_(_)_ _  __ _ 
  | |/ -_|_-<  _| | ' \/ _` |
  |_|\___/__/\__|_|_||_\__, |
                       |___/ 

Actual
If we render the same string in the same font with this package, we get this:

 _____              _     _
|_   _|  ___   ___ | |_  (_)  _ _    __ _
  | |   / -_) (_-< |  _| | | | ' \  / _` |
  |_|   \___| /__/  \__| |_| |_||_| \__, |
                                    |___/ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions