Bloody font renders text backwards in original figlet
mistydemeo opened this issue · comments
This is quite possibly a figlet bug, not a problem with the converted font, but wanted to report here to check...
I've been using the 10 converted ANSI fonts with the original figlet. Most of them work fine, but Bloody renders text right-to-left. Sample output from showfigfonts
:
Bloody :
▓██ ██▓▓█████▄ ▒█████ ▒█████ ██▓ ▄▄▄▄
▒██ ██▒▒██▀ ██▌▒██▒ ██▒▒██▒ ██▒▓██▒ ▓█████▄
▒██ ██░░██ █▌▒██░ ██▒▒██░ ██▒▒██░ ▒██▒ ▄██
░ ▐██▓░░▓█▄ ▌▒██ ██░▒██ ██░▒██░ ▒██░█▀
░ ██▒▓░░▒████▓ ░ ████▓▒░░ ████▓▒░░██████▒░▓█ ▀█▓
██▒▒▒ ▒▒▓ ▒ ░ ▒░▒░▒░ ░ ▒░▒░▒░ ░ ▒░▓ ░░▒▓███▀▒
▓██ ░▒░ ░ ▒ ▒ ░ ▒ ▒░ ░ ▒ ▒░ ░ ░ ▒ ░▒░▒ ░
▒ ▒ ░░ ░ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ▒ ░ ░ ░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░
░ ░ ░ ░
Good catch and thanks for the report! I think the problem is with how I setup the font. If you open Bloody.flf you'll see the top line is:
flf2a$ 10 5 10 0 3 1
Changing the 1 to a 0 should fix the problem. That parameter indicates the print direction. Not sure why its set to 1, when I get home tonight I'll look into it further.
Can confirm that fixes it!
Good to hear. Updated the figlet.js file to add print direction support - thanks again for letting me know!
Thanks!