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

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wednesday, April 23, 2025 18:25:59
    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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thursday, April 24, 2025 15:26:50
    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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thursday, April 24, 2025 15:39:07
    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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thursday, April 24, 2025 16:44:42
    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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Saturday, April 26, 2025 18:16:42
    https://gitlab.synchro.net/main/sbbs/-/commit/06d761845640dd88f770c5cd
    Modified Files:
    exec/load/tdfonts_lib.js exec/tdfiglet.js
    Log Message:
    Add word-wrap support

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Saturday, April 26, 2025 19:38:55
    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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Saturday, April 26, 2025 23:14:22
    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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net