Skip to content

How can I figure out the Unicode code points supported by a Nerd Font? #1675

Closed Answered by Finii
injust asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not sure what you want to do.

Here is a list of the rough ranges: https://github.com/ryanoasis/nerd-fonts/wiki/Glyph-Sets-and-Code-Points
The codepoint of individual icons can be found there: https://www.nerdfonts.com/cheat-sheet
Checking if one specific codepoint is in which installed font: fc-list :charset=f000 (assuming you want to check u_F000)
Get a more or less conceise list of codepoints in the font file: fc-query --format='%{charset}\n' ~/Library/Fonts/SymbolsNerdFont-Regular.ttf

Never needed / even heard of otfinfo

Edit: Correct cheat sheet link

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Finii
Comment options

Finii Jul 10, 2024
Collaborator

@injust
Comment options

Answer selected by injust
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants