patorjk / figlet.js

A FIG Driver written in JavaScript which aims to fully implement the FIGfont spec.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stick Letters font has problem with Z

fwangel opened this issue · comments

(I don't know if this is only a problem in the web service, since I have only tested it there)

Using the Stick Letters font, the output is partially corrupted when typing z or Z.

Steps to reproduce:
http://patorjk.com/software/taag/#p=display&v=0&c=bash&f=Stick%20Letters&t=Customization

Expected output:

#   __        __  ___  __          __      ___    __       
#  /  ` |  | /__`  |  /  \  |\/| |  /  /\   |  | /  \ |\ | 
#  \__, \__/ .__/  |  \__/  |  | | /_ /~~\  |  | \__/ | \| 
#                                                          

Actual output:

#   __        __  ___  __          __      ___    __       
#  /  ` |  | /__`  |  /  \  |\/| |  / @ /\   |  | /  \ |\ | 
#  \__, \__/ .__/  |  \__/  |  | | /_ @/~~\  |  | \__/ | \| 
#                                     @@                     

The only difference between this font and the "JS Stick Letters" font is some superfluous white-space at the end of the rows representing the z and Z. The JS Stick Letters works fine, so I'm sticking with that one instead.

Thank you for reporting this. I've fixed the Stick Letters font (both in this repo and on the TAAG app). You also appear to be correct about the fonts being the same. I'd remove one of them, but I don't want to mess someone up if they're using one of the two, so I'll just leave them both in.