open
https://gitlab.synchro.net/main/sbbs/-/issues/1078
I was going to do these but since you're fecking with it.
1. Add the font index (sometimes prints undefined jsexec tdfiglet -a -u -f 1911x.tdf -i "Test" for example), height, spacing, and type (block outline, graphic, ascii) to the info output
2. Add maximum and minimum height when asking for random font. I may only have 4 or I may have 5-7 lines.
3. Add minimum and maximum length. I may want something that will fit into 60 columns or I want it centered to fill 70-78 columns.
4. wrapping seems to be a bit premature. I'm sure "A LONG' could fit on the 2nd line (see below)

5. Running the command with no option, just text gives usage when it should use the default font.
6. Maybe with W, force a wordwrap even if there are no spaces by splitting the line where it would go off the script therefore stopping any errors. When using random it should probably skip fonts that are too wide to avoid such errors.
```
bbs@bbs:/sbbs/exec$ jsexec tdfiglet -a -u -r -x 0 -i "Testing" /home/bbs/sbbs/exec/tdfiglet.js compiled in 0.00 seconds
file: /sbbs/ctrl/tdfonts/bravex.tdf
!JavaScript /sbbs/exec/load/tdfonts_lib.js line 417: Error: Rendered line width (89) > screen width (80)
/home/bbs/sbbs/exec/tdfiglet.js executed in 0.02 seconds
!Module (tdfiglet) set exit_code: 1
```
7. When using -l it misses a bunch of fonts due to line too long but without any errors if -i isn't given. This allows users to miss fonts if their text is too long. Maybe automatic wrapping should be applied unless requested not. (inverse of -W ?)
Without -i 
With -i 
--- SBBSecho 3.37-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)