Created
May 19, 2021 21:10
-
-
Save akostadinov/202550a1e2fd4ea8cf523d91b437fa09 to your computer and use it in GitHub Desktop.
shows fonts containing character
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# example: ./font_find.sh 🎩︎ | |
# credits: David Baynard, https://unix.stackexchange.com/a/393740/14907 | |
param="$1" | |
char=${param:0:1} | |
printf '%x' \'"$char" | xargs -I{} fc-list ":charset={}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, can be useful to some people. For my use case I wanted to know all details, file paths, styles, etc.