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

Reviewed by:	emaste
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D45183
This commit is contained in:
Joseph Mingrone 2024-05-13 15:38:13 -03:00
parent dec211c6cf
commit 2735824564
No known key found for this signature in database
GPG Key ID: 36A40C83B0D6EF9E

View File

@ -845,3 +845,17 @@ 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.
$ 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>
%