• 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:58 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:39:06 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 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 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)