From b4a0f7bf80c79dae886fa5ac2f762bccffcd1f9f Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Sat, 5 Jun 2021 18:29:58 -0500 Subject: [PATCH] Bashrc.wiki: removed code from fontfind section. Just read the source --- Bashrc.wiki | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Bashrc.wiki b/Bashrc.wiki index 035fda3..f16db9b 100644 --- a/Bashrc.wiki +++ b/Bashrc.wiki @@ -129,17 +129,7 @@ I no longer use `countdown()` from `shot()` directly, but sometimes will in some https://git.thurstylark.com/vcsh/bashrc.git/tree/.bashrc.d/fontfind.bash -Sometimes you just need to figure out what font provides a specific character. This function provides that solution: - -{{{class="prettyprint" -fontfind() { - if [[ -z $1 || ${#1} -gt 1 ]]; then - printf "E: only one character accepted" - fi - local glyph=$1 - FC_DEBUG=4 pango-view -qt "$glyph" 2>&1 | awk -F \" '/family: / { m = $2 } END { print m }' -} -}}} +Sometimes you just need to figure out what font provides a specific character. This function provides that solution. ----