From ea3751fb53b21a1e8daaf157cb90a69996e4fe2d Mon Sep 17 00:00:00 2001 From: Joseph Mingrone Date: Wed, 15 May 2024 11:26:25 -0300 Subject: [PATCH] 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 --- usr.bin/fortune/datfiles/freebsd-tips | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/usr.bin/fortune/datfiles/freebsd-tips b/usr.bin/fortune/datfiles/freebsd-tips index e24d3640b8c..c0807405005 100644 --- a/usr.bin/fortune/datfiles/freebsd-tips +++ b/usr.bin/fortune/datfiles/freebsd-tips @@ -845,17 +845,14 @@ kern.tty_info_kstacks to 0 (off), 1 (on), or 2 (verbose), e.g.: -- Michael Gmelin % - -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 +/usr/local/share/fonts/noto/NotoColorEmoji.ttf was installed by package noto-emoji-2.042 %