~ft/fontsel

5fa97a892448a027163621d390fb5025f4ee4700 — Sigrid Solveig Haflínudóttir 2 months ago d12d184 master
readme: deprecate
1 files changed, 3 insertions(+), 18 deletions(-)

M README.md
M README.md => README.md +3 -18
@@ 1,23 1,8 @@
# fontsel

*NOTE*: fontsel is included in 9front since Sep 2022.  No development
will continue in this repo.

Simple font selector for Plan 9.

![screenshot](shot.png)

It scans `/lib/font/bit`, `/lib/font/ttf`, and shows the user a text.
User selects a font directory using middle mouse button and a specific
font in that directory with the right mouse button.

When the user decides to quit, using either `q` or `del`, program
prints out the full path to the last font selected, so that it's
possible to use it as follows:

```
font=`{fontsel} sam ....
```

`-` and `+` cycle through fonts of a specific font dir, or change the
size of the font if it's a TTF one.

Displayed text can be loaded from a file: `fontsel FILE`, where `FILE`
can be `-` to read from stdin.