freebsd-tips: Tweak fortune to find font providing Unicode character

While here, remove my name and email address.

Reported by:	bapt
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Joseph Mingrone 2024-05-15 11:26:25 -03:00
parent 42b28f8152
commit ea3751fb53
No known key found for this signature in database
GPG key ID: 36A40C83B0D6EF9E

View file

@ -845,17 +845,14 @@ kern.tty_info_kstacks to 0 (off), 1 (on), or 2 (verbose), e.g.:
-- Michael Gmelin <grembo@FreeBSD.org>
%
Under X Windows, you can determine which fonts provide a particular Unicode
character using fc-list from the fontconfig package. For example, if your
friend complains that the emoji you sent won't display, run fc-list with the hex
value of the character to determine which font your friend should install.
To determine which fonts provide a particular Unicode character, fc-list from
the fontconfig package may be helpful. For example, if your friend complains
that the emoji you sent won't display, run fc-list with the hex value of the
character to determine which font your friend should install.
$ fc-list ':charset=0x1F4A1'
/usr/local/share/fonts/noto/NotoColorEmoji.ttf: Noto Color Emoji:style=Regular
$ pkg which /usr/local/share/fonts/noto/NotoColorEmoji.ttf
/usr/local/share/fonts/noto/NotoColorEmoji.ttf was installed by package noto-emoji-2.042_1
-- Joe Mingrone <jrm@FreeBSD.org>
/usr/local/share/fonts/noto/NotoColorEmoji.ttf was installed by package noto-emoji-2.042
%