mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
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:
parent
dec211c6cf
commit
2735824564
|
@ -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>
|
||||
%
|
||||
|
|
Loading…
Reference in a new issue