figlet-js icon indicating copy to clipboard operation
figlet-js copied to clipboard

Fix non ascii characters

Open jcubic opened this issue 13 years ago • 0 comments

Fix for issue #4 I try to fix it by calculating an offest. It seems that characters larger then 160 have extra line, but after struggle with it (and not every font have the same 102 offset)

for i in fonts/*; do echo -n "$i ";sed '/^160/,$ d' < $i | grep @@ | wc -l; done

I create a code that scan through array to search for the string that contain the character

jcubic avatar Sep 20 '12 23:09 jcubic