-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please document codepoint ranges #108
Comments
Some more info at #40. |
I believe we can close this now:
|
I think it would be good to have table in the README still.
Via:
in font-patcher. This is helpful when configuring e.g. |
@blueyed there's some things missing in there unfortunately. The ranges from
|
I've copied the complete list down from the web site and parsed it. let NerdFont = [|
(0x23fb, 0x23fe) // Power Symbols
(0x2665, 0x2665) // Octicons
(0x26a1, 0x26a1) // Octicons
(0x2b58, 0x2b58) // Power Symbols
(0xe000, 0xe00a) // Pomicons
(0xe0a0, 0xe0a2) // Powerline Symbols
(0xe0a3, 0xe0a3) // Powerline Extra Symbols
(0xe0b0, 0xe0b3) // Powerline Symbols
(0xe0b4, 0xe0c8) // Powerline Extra Symbols
(0xe0ca, 0xe0ca) // Powerline Extra Symbols
(0xe0cc, 0xe0d4) // Powerline Extra Symbols
(0xe200, 0xe2a9) // Font Awesome Extension
(0xe300, 0xe3e3) // Weather
(0xe5fa, 0xe62e) // Custom + Seti
(0xe700, 0xe7c5) // Devicons
(0xf000, 0xf2e0) // Font Awesome
(0xf300, 0xf31c) // Font Logos (Font Linux)
(0xf400, 0xf4a8) // Octicons
(0xf500, 0xfd46) // Material
|]
|
Thanks everyone, closing this for now because of: Feel free to edit the Wiki as you see fit or submit a PR if you'd like something more. |
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a new issue, complete the issue template with all the details necessary to reproduce, and mention this issue as reference. |
I am looking into using a custom
wcwidth
function/library (https://github.com/termux/wcwidth; viaLD_PRELOAD
), where I'd like it to return the proper width for the wide glyphs (which appear to be all/most, right?).Therefore a list of used codepoints would be useful.
I've came up with the following, but it does not seem to be accurate, e.g. the Linux symbol from Font Awesome () is at
0xe712
, although the range is{0xf000, 0xf295}, // symbolsFontAwesomeRangeStart
(nerd-fonts/font-patcher
Lines 248 to 249 in 72ca7b7
What am I missing?
The tables in the README add to the confusion, since they do not take into account that some sets get shifted etc: https://github.com/ryanoasis/nerd-fonts/blob/master/readme.md
After all I could imagine to create some pre-processor that would scan the Nerd Font, look at the expected width of the glyphs and use the output with
wcwidth
then.I am using 'Ubuntu Mono derivative Powerline Nerd Font Complete.ttf' with rxvt-unicode on Arch Linux.
The text was updated successfully, but these errors were encountered: