summaryrefslogtreecommitdiff
path: root/sys/man/1
diff options
context:
space:
mode:
authorSigrid Solveig Haflínudóttir <sigrid@ftrv.se>2022-09-14 23:40:08 +0000
committerSigrid Solveig Haflínudóttir <sigrid@ftrv.se>2022-09-14 23:40:08 +0000
commite02e1188e472c7e2f40fa84e839631cc54f505a0 (patch)
tree32f391daac96c8ea438cb9a3f44ef4aa371a248b /sys/man/1
parentafc5d2b7f964522e35ad9023eff4c6bb213114bd (diff)
fontsel: a font selector program
Diffstat (limited to 'sys/man/1')
-rw-r--r--sys/man/1/fontsel42
1 files changed, 42 insertions, 0 deletions
diff --git a/sys/man/1/fontsel b/sys/man/1/fontsel
new file mode 100644
index 000000000..4e6c35501
--- /dev/null
+++ b/sys/man/1/fontsel
@@ -0,0 +1,42 @@
+.TH FONTSEL 1
+.SH NAME
+fontsel \- a font selector program
+.SH SYNOPSIS
+.B fontsel
+[
+.I FILE
+]
+.SH DESCRIPTION
+.I fontsel
+scans
+.I /lib/font/bit
+and
+.I /lib/font/ttf
+for fonts and displays a text, either the default one,
+or the one specified by the user with an optional argument.
+.PP
+Font directory can be selected using middle mouse button.
+Specific font in that directory can be selected either
+.B -
+and
+.B +
+keys (bitmap fonts and TTF), or with the right mouse button
+(only for bitmap fonts).
+.PP
+Pressing
+.B q
+or
+.B del
+will exit the program and output the path to the last selected font,
+so that it's possible to select a font for a specific program in mind:
+.EX
+ font=`{fontsel} sam ...
+.EE
+.SH SOURCE
+/sys/src/cmd/fontsel.c
+.SH SEE ALSO
+.IR truetypefs (4)
+.SH HISTORY
+Fontsel first appeared in 9front (September, 2022).
+.SH BUGS
+TTF.