a256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715641343; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fpTneWr/4YnP28gq4Zzvt89EPOXGjKz7p9bSOjhZtYw=; b=ky9sl01jz28f9ByhgSuKyuG1RVPd2AqWMCPOd/m0UYfxygdb4ByabheNfB+jf/A8ASFJ6K YUGED5xcxED2XqVEu7B6BjEHQImWrkMzaHn1/4lgHGp/RZGs+5qHDtv45k/KlK9xgMdbw8 FgH/jrJdoYRxZ7a1AEuj8yLkw0CHtyIFFq3M+DImIglsqy4gmj3NHQ90G8X4tzfEDYPVuF /JO+7281mXfH8nk+tJbO6SXBnkmP4qrNid1HTUA/5w9MZPDFjGa8foGU7TzD+TyhePat9G IX66dDMO0gyqanvOFvv66c2hcN5k0bdCmFEl8UPX1KRaKtYzSY5Q+0k1rx02DQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VdZkl1tvhz16xj; Mon, 13 May 2024 23:02:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44DN2Nan009091; Mon, 13 May 2024 23:02:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44DN2NX6009088; Mon, 13 May 2024 23:02:23 GMT (envelope-from git) Date: Mon, 13 May 2024 23:02:23 GMT Message-Id: <202405132302.44DN2NX6009088@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Joseph Mingrone Subject: git: 27358245644c - main - freebsd-tips: Add fortune to find font providing Unicode character List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jrm X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 27358245644c2a8bf2b57182e2fcd8cdf18d6b8d Auto-Submitted: auto-generated The branch main has been updated by jrm: URL: https://cgit.FreeBSD.org/src/commit/?id=27358245644c2a8bf2b57182e2fcd8cdf18d6b8d commit 27358245644c2a8bf2b57182e2fcd8cdf18d6b8d Author: Joseph Mingrone AuthorDate: 2024-05-13 18:38:13 +0000 Commit: Joseph Mingrone CommitDate: 2024-05-13 23:02:17 +0000 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 --- usr.bin/fortune/datfiles/freebsd-tips | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/usr.bin/fortune/datfiles/freebsd-tips b/usr.bin/fortune/datfiles/freebsd-tips index 028a9e9b1430..e24d3640b8c6 100644 --- a/usr.bin/fortune/datfiles/freebsd-tips +++ b/usr.bin/fortune/datfiles/freebsd-tips @@ -845,3 +845,17 @@ 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. + +$ 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 +%