• exec/load/tdfonts_lib.js

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Tue Apr 22 19:49:02 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/26ed00e3dc0f463026c358f9
    Modified Files:
    exec/load/tdfonts_lib.js
    Log Message:
    If lowercase char is not mapped to font, lookup the uppercased letter

    Not all fonts have the lowercase chars mapped
    --- 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 Wed Apr 23 16:09:36 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/26d7130ec83a1d66420dac80
    Modified Files:
    exec/load/tdfonts_lib.js
    Log Message:
    Add output() method that just outputs the font/string, doesn't print

    for Nelgin
    --- 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 Wed Apr 23 16:31:19 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/84647413fa38fd8db2b53136
    Modified Files:
    exec/load/tdfonts_lib.js
    Log Message:
    Terminate lines with CRLF not just LF
    --- 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 Wed Apr 23 18:25:58 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/07a6c7e1ac6c14627eff0701
    Modified Files:
    exec/load/tdfonts_lib.js
    Log Message:
    Make the 'opt' object predefinition optional (not required)

    Defaults to CP437/ANSI output in this case
    --- 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:04:24 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/c9086f14485e76f248923a0c
    Modified Files:
    exec/load/tdfonts_lib.js
    Log Message:
    When random mode is specified and multiple fonts exist in font file...

    pick one at random.

    Display the font index value when the info mode is requested.
    --- 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/a53728f520d762c167f921a6
    Modified Files:
    exec/load/tdfonts_lib.js
    Log Message:
    Fix off-by-one error when using opt.index value

    e.g. opt.index==0 was treated the same as opt.index==1
    --- 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 17:44:30 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/f3bc6d707905a5bffe847847
    Modified Files:
    exec/load/tdfonts_lib.js
    Log Message:
    Auto-detect the screen width when the width option isn't specified

    This fixes the center/right justification options for terminals not exactly
    80 columns in width.
    --- 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 18:19:28 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/7a03c138f410106204967e86
    Modified Files:
    exec/load/tdfonts_lib.js
    Log Message:
    When right justifying and no margin, don't print CRLF (blank lines)

    ... assume the terminal auto-line-wrapped for us.

    Allow a margin (for left or right justification) to be specified in
    opt.margin (default: 0).
    --- 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 Fri Apr 25 02:14:06 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/f1a9f946c0cf10890d750f59
    Modified Files:
    exec/load/tdfonts_lib.js
    Log Message:
    Remove accidental debug output
    --- 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 Fri Apr 25 10:01:09 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/a1edc650f13ea145cef654e2
    Modified Files:
    exec/load/tdfonts_lib.js
    Log Message:
    Throw an exception when rendered line would exceed screen width

    since we don't support line wrapping or truncation (yet).
    --- 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:49:26 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/c0a9c942fd0d0faacdc94bf8
    Modified Files:
    exec/load/tdfonts_lib.js
    Log Message:
    Fix negaitve padding calculation (for center justification of long srings)
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)