• exec/load/tdfonts_lib.js exec/tdfiglet.js

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Wed Apr 23 18:25:59 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/1d1315af7af21066e212800e
    Modified Files:
    exec/load/tdfonts_lib.js exec/tdfiglet.js
    Log Message:
    Add Ctrl-A output encoding (now the default)

    The output is CP437/Ctrl-A by default, use -u to force UTF-8 encoded characters if you need that or -a to force ANSI output if you need that.

    Removed the mIRC color support (that can be added back easiliy enough if anyone actually wants that).

    So the tdfiglet -e u|a option has been replaced with -u (UTF-8)
    and -c m|a option has been replaced -a (ANSI). Simpler usage with correct terminology.
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Thu Apr 24 15:26:50 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/655e9f65cdf6a4e96f4cd14c
    Modified Files:
    exec/load/tdfonts_lib.js exec/tdfiglet.js
    Log Message:
    If no font object or filename is passed to lib, pick a font file at random

    This moves the random file selection into tdfonts_lib.js

    We should also pick a font index at random (when opt.random is true), but that's not happening yet.

    Also fixed up some indentation issues (when using 4 space tabstops). The original commit of this file used spaces for indentation, so it's kind of
    a mess now and should be uncrustified.
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Thu Apr 24 15:39:07 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/06b2c30fd5f8649bfdb94ba0
    Modified Files:
    exec/load/tdfonts_lib.js exec/tdfiglet.js
    Log Message:
    Add PTSC headers to specify the tab-size and to use tabs for indentation
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Thu Apr 24 16:44:42 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/c5af0423dba8144eb6506702
    Modified Files:
    exec/load/tdfonts_lib.js exec/tdfiglet.js
    Log Message:
    Support combination use of tdfiglet -x and -r options

    e.g. to use only the first font (index 0) from a randomly selected font file. --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on ChromeOS)@1:103/705 to Git commit to main/sbbs/master on Sat Apr 26 18:16:42 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/06d761845640dd88f770c5cd
    Modified Files:
    exec/load/tdfonts_lib.js exec/tdfiglet.js
    Log Message:
    Add word-wrap support
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on ChromeOS)@1:103/705 to Git commit to main/sbbs/master on Sat Apr 26 19:38:55 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/dc6caaf2f3ac8efc95b9b732
    Modified Files:
    exec/load/tdfonts_lib.js exec/tdfiglet.js
    Log Message:
    Add tdfiglet -R option for random font with retry (e.g. if too wide for screen)

    ... use with caution as you could get into an infinite exception/retry loop using this feature.

    tdfonts_lib opt.retry added (default: false/disabled)

    Removed some unnecessary comments from lib source
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Sat Apr 26 23:14:22 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/3d87546c9e74b301495b673b
    Modified Files:
    exec/load/tdfonts_lib.js exec/tdfiglet.js
    Log Message:
    Add support for looping through fonts (-l option) with pause (-p)

    Cleaned-up the font filename weirdness in the lib.
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)