BS-RENDERFLIPDOT(1) | General Commands Manual | BS-RENDERFLIPDOT(1) |
bs-renderflipdot
—
Render for and send text to a flipdot display
bs-renderflipdot |
[-n ] [-i ]
[-s size]
-f font
[-f font
[-f ...]]
[-S ] [-P ]
[-W width]
[-H height]
[-h host]
[-p port]
[-4 ] [-6 ]
text |
bs-renderflipdot
uses
buchstabensuppe(3) to render a given string onto a binary
bitmap. It additionally has the ability to send the resulting bitmap to a
flipdot display via its common UDP protocol which can be disabled using the
-n
option.
The full list of options is as follows:
-n
-i
-i
it is inverted to be black on
white. -s
size Specify the
font size in pixels. When this option is given it affects all fonts that
are added
after
the -s
option. If it is missing, the default size
of 16 is used. Can be used multiple times.-f
path-S
bs-renderflipdot
takes roughly
(screen_width
* 2 + bitmap_width) * (1s / 8) to finish.-P
bs-renderflipdot
takes roughly
floor(bitmap_width
/ screen_width) * 2s to finish.
-W
width-n
is not given, defaults to
80.-H
height-n
is not given, defaults to
16.-h
host-n
is not given,
localhost
is the default value.-p
port-n
is not given,
2323 is
the default value.-4
-6
-
?bs-renderflipdot
exits with 0 on success
and with 1 if an error of any kind occurs.
Render "Hello World" using GNU Unifont in size 16 to stdout without sending it anywhere:
bs-renderflipdot -s 16 -f /usr/share/fonts/truetype/unifont.ttf \ -n "Hello World"
Render "Hi 👋" black on white onto a flipdot display running on flipdot.lab:2323 using GNU Unifont and its upper codepages variant Unifont Upper:
bs-renderflipdot -i -s 16 \ -f /usr/share/fonts/truetype/unifont.ttf \ -f /usr/share/fonts/truetype/unifont_upper.ttf \ -h flipdot.lab "Hi 👋"
bs-renderflipdot
and
buchstabensuppe
have been written and documented by
sternenseemann
<sterni-buchstabensuppe@systemli.org>.
January 19, 2025 | Nixpkgs |