Synchronet v3.20d-Win32 (install) has been released (Mar-2025).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
custom:thedrawfonts [2025/04/24 18:37] – [tdfiglet.js] add -m option digital mancustom:thedrawfonts [2025/04/24 18:40] (current) – [Options] Add margin option digital man
Line 59: Line 59:
 You can pass several options to tdfonts using the opt object. You can pass several options to tdfonts using the opt object.
  
-^ Property ^ Description                                                                                              ^ Default ^ +^ Property ^ Description                                                                                               ^ Default ^ 
-| justify | Determine the position of the text on the screen. You can use LEFT_JUTIFY RIGHT_JUSTIFY or CENTER_JUSTIFY | ''LEFT_JUSTIFY''+| justify | Determine the position of the text on the screen. You can use LEFT_JUSTIFY RIGHT_JUSTIFY or CENTER_JUSTIFY | ''LEFT_JUSTIFY''
-| width | Define the screen width | ''80'' |+| margin  | Offset (in columns) from edge of terminal. For use with LEFT or RIGHT justification.                       | ''0''
 +| width   Specify the screen width. For use with CENTER or RIGHT justification.                                      //auto-detect// or ''80'' |
 | ansi| Determines if output should use ANSI terminal escape sequences | ''false'' (use Synchronet Ctrl-A attribute sequences) | | ansi| Determines if output should use ANSI terminal escape sequences | ''false'' (use Synchronet Ctrl-A attribute sequences) |
 | utf8 | Whether output encoding should use UTF-8 | ''false'' (use CP437 character set/encoding) | | utf8 | Whether output encoding should use UTF-8 | ''false'' (use CP437 character set/encoding) |
 | info | Print information about the font such as its name and available characters | ''false'' | | info | Print information about the font such as its name and available characters | ''false'' |
-| random | Use a random font. A fontname need to be specified when using random | ''false''+| random | Use a random font. A fontname need not be specified when using the random option. | ''false''
-| index | 0 based index of the font within the font file | ''0'' |+| index | 0 based index of the font within the font file | //random// or ''0'' |
  
 ===== See Also ===== ===== See Also =====