• exec/load/tdfonts_lib.js

    From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Thursday, January 29, 2026 19:54:00
    https://gitlab.synchro.net/main/sbbs/-/commit/ea8b688370f19178be6c0c69
    Modified Files:
    exec/load/tdfonts_lib.js
    Log Message:
    Fix bug with Ctrl-A output, switching from high to low intensity fg-colors

    I was wondering why the ANSI output looked different/better than the Ctrl-A output. This was the bug.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Sunday, February 22, 2026 00:44:00
    https://gitlab.synchro.net/main/sbbs/-/commit/2f24f4bd3d93cd4b932d6409
    Modified Files:
    exec/load/tdfonts_lib.js
    Log Message:
    Add support for block fonts

    This minor change appears to be all that was necessary to support block TheDraw Fonts, or at least, the example fonts that Nelgin sent me:

    TDFONTS1.TDF and TDFONTS2.TDF

    Outline fonts (e.g. TDFONTS0.TDF) appear to need more special handling still (e.g. the mapping of 'A' to 205, etc.).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Sunday, February 22, 2026 02:19:00
    https://gitlab.synchro.net/main/sbbs/-/commit/426f4c468bfbde2e7e643a13
    Modified Files:
    exec/load/tdfonts_lib.js
    Log Message:
    Add support for outline fonts (e.g. TDFONTS0.TDF)

    Using mapping from ASCII CP437 chars from https://www.roysac.com/blog/2014/04/thedraw-fonts-file-tdf-specifications/
    with the exception that the "Inside spaces" and "Filler for all leading
    spaces" are replaced with space rather than the 0xF7 and '@' characters.

    This includes the disabling of a warning message about a condition that is apparently normal with outline fonts.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Sunday, February 22, 2026 02:37:00
    https://gitlab.synchro.net/main/sbbs/-/commit/c878d2bdb2965552230ccc3a
    Modified Files:
    exec/load/tdfonts_lib.js
    Log Message:
    White-space changes only

    Ran this through js-beautify to replace all the indentation with tabs and it made a few brace changes.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Sunday, February 22, 2026 04:31:00
    https://gitlab.synchro.net/main/sbbs/-/commit/9fdcd4bf491092ef69ab0f01
    Modified Files:
    exec/load/tdfonts_lib.js
    Log Message:
    Re-enable the warning about "Exceed glyph call bounds"

    but only for non-outline fonts (just in case it's helpful with those)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Sunday, February 22, 2026 04:31:00
    https://gitlab.synchro.net/main/sbbs/-/commit/b39f9bb3c498ff0ca0e02fc9
    Modified Files:
    exec/load/tdfonts_lib.js
    Log Message:
    Display the fonttype as a string

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Monday, February 23, 2026 02:24:00
    https://gitlab.synchro.net/main/sbbs/-/commit/90b77173708c36de67b1532d
    Modified Files:
    exec/load/tdfonts_lib.js exec/tdfiglet.js
    Log Message:
    Add support for specifying an alternate font directory (-d option)

    Find/use any capitalization of *.tdf files in the font directory (not just *.tdf, lowercase).

    Fix off-by-one bug in random font file selection: random() returns a value between 0 and the argument value minus 1, so if you're selecting a random
    index into an array, just pass the array length (not array length plus one).

    Fix issue #1077

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Monday, February 23, 2026 02:41:00
    https://gitlab.synchro.net/main/sbbs/-/commit/da60a92dac7543a74b56a2fc
    Modified Files:
    exec/load/tdfonts_lib.js
    Log Message:
    Better font info output

    Index, when unspecified, is now 0, not 'undefined'.
    Prefix font name with 'name:' instead of 'font:'.
    Add height and spacing of font to info output.
    Use "supported" intead of "char list" for supported chars printed.

    Part of fix for issue #1078

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Monday, February 23, 2026 15:37:00
    https://gitlab.synchro.net/main/sbbs/-/commit/82bf68d8b5a1ce6850d1dbc5
    Modified Files:
    exec/load/tdfonts_lib.js exec/tdfiglet.js
    Log Message:
    tdfiglet -l now loops through all fonts of each .tdf file

    ... unless a specific index (-x option) was specified

    Fix issue #1080, the FHD issue

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