···
# Script to preview fonts
5
-
printf '%b\n' "${0##*/} [-F FILE | -S | -t STRING] [OPTIONS]" \
7
-
"\t-F FILE - read from file" \
8
-
"\t-S - read from stdin" \
9
-
"\t-t STRING - use a string" \
11
-
"\t-b SIZE - border size" \
12
-
"\t-c COLORS - set the color of the text and background" \
13
-
"\t-f FONT - which font to preview" \
14
-
"\t-h - display this message" \
15
-
"\t-i - do not generate an inverse image" \
16
-
"\t-o FILE - output file for the generated image" \
17
-
"\t-s SIZE - size of the font" \
18
-
"\ndefault values:" \
19
-
"These values can be set before execution to change default values" \
20
-
"\tPREFON_ACTION=text (file, stdin, or text)" \
21
-
"\tPREFON_BORDER_SIZE=16" \
22
-
"\tPREFON_COLORS=\"000000,ffffff\"" \
23
-
"\tPREFON_FONT=\"monospace\"" \
24
-
"\tPREFON_OUTPUT=\"/tmp/prefon.png\"" \
25
-
"\tPREFON_SIZE=16" \
26
-
"\tPREFON_TEXT=\"The quick brown fox jumps\\\n over the lazy dog\"" \
5
+
printf '%b\n' "${0##*/} [-F FILE | -S | -t STRING] [OPTIONS]" \
7
+
"\t-F FILE - read from file" \
8
+
"\t-S - read from stdin" \
9
+
"\t-t STRING - use a string" \
11
+
"\t-b SIZE - border size" \
12
+
"\t-c COLORS - set the color of the text and background" \
13
+
"\t-f FONT - which font to preview" \
14
+
"\t-h - display this message" \
15
+
"\t-i - generate the inverse image (horizontal, vertical, none)" \
16
+
"\t-o FILE - output file for the generated image" \
17
+
"\t-s SIZE - size of the font" \
18
+
"\ndefault values:" \
19
+
"These values can be set before execution to change default values" \
20
+
"\tPREFON_ACTION=text (file, stdin, or text)" \
21
+
"\tPREFON_BORDER_SIZE=16" \
22
+
"\tPREFON_COLORS=\"000000,ffffff\"" \
23
+
"\tPREFON_FONT=\"monospace\"" \
24
+
"\tPREFON_OUTPUT=\"/tmp/prefon.png\"" \
25
+
"\tPREFON_SIZE=16" \
26
+
"\tPREFON_TEXT=\"The quick brown fox jumps\\\n over the lazy dog\"" \
"\tPREFON_INVERSE=vertical (horizontal, vertical, none)"