viisual / ASCII-Decorator

Convert selected text into banners made up of ASCII art.
349 stars 39 forks source link

A way to set space between characters #37

Open xgvargas opened 7 years ago

xgvargas commented 7 years ago

There is any already defined way to set the space between chars? Some of my team uses Atom and others uses Sublime. Atom render Colossal font with a space between chars, but this plugin does not, this generates a hard to read text. I can implement that and send a PR if not already available.

facelessuser commented 7 years ago

Physically put a space in between each char before conversion?

Pyfiglet (the module being used) doesn't expose any knobs to smushing or kerning. Technically it is possible. If instead of rendering the entire text all at once, you could chunk it char by char and then you could pad it out on the right. Depending on the kerning and such, just rendering each char individually may be enough to give you space.

mizterp commented 7 years ago

I have attached my "fixed" version of Colossal. Just change the extension to .flf colossal_v2.txt

mizterp commented 7 years ago

Ok, this one might be even better: colossal_v3.txt