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

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Wed, 15 May 2024 14:36:10 UTC
The branch main has been updated by jrm:

URL: https://cgit.FreeBSD.org/src/commit/?id=ea3751fb53b21a1e8daaf157cb90a69996e4fe2d

commit ea3751fb53b21a1e8daaf157cb90a69996e4fe2d
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2024-05-15 14:26:25 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2024-05-15 14:34:39 +0000

    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 e24d3640b8c6..c0807405005e 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 <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
 %