-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Wrong codepoints for Octoicons #34
Comments
Thanks. Looks like I have overlooked something when fixing font awesome. Will take a look. |
@dritter Okay so the problem is both Font Awesome and Octicons start their glyph range at If you want to use the original unicode codepoints for Octicons you will have to use |
@ryanoasis so that means that the code points differ if I use a variant with or without |
@dritter for Octicons yes that is correct. You make a good point and it is worth considering. My thought was to try to keep all glyphs at their original position unless there are conflicts but you brought up the other side of it that there would be less consistently |
I am unsure about this issue as well. Example: Man, I am really indifferent about that.. 😁 |
Good points. Yeah it is a catch 22 in some sense 😄 |
I will at least do an update for Octicons to https://github.com/github/octicons/releases/tag/v3.1.0 |
👍 |
Octicons now up to v3.2.0 so that'll be the one I include more than likely |
Latest Octicons should now be included in v0.6.0 but the main point of this ticket is still to be discussed so leaving it open for now. |
May I suggest an alternative solution (granted, there is no ideal one unless those fonts decide to change their glyph codepoints and that's unlikely)?
If Octicons is a more popular font (with the GitHub support and all), it should have a higher priority. P.S. |
…t_fix Put RPROMPT on first line of dual-lined prompts.
So just out of curiosity if I have font awesome and octicons installed how to I reference octicons? |
@CrashyBang If you are using one of the patched fonts with both glyph sets (e.g. 'Complete') then the Octicons will be in a new range ( see below:
|
@ryanoasis awesome sorry I was not sure of the range number (4) i.e This is awesome thank you! |
@CrashyBang No problem 😄 It should probably be clarified in the readme because I can see where it would be confusing right now 😊 |
I happened to notice a few things while playing around with my shell prompt. While the readme links to the wiki page, the graphics on the wiki page are wrong. There's a broken/missing image under "Original Codepoints", and the image under "New Codepoints", I believe, actually shows the original ranges. At the same time, it seems like some of the ranges on the correct image above are off, which I assume is due to changes that came about with more recent updates. |
@yarthur Thanks for pointing that out and reminding me. So I am still in the process of recovering my primary OS 😢 but looks like I had forgotten to upload that image to the wiki. I will update them both sometime this weekend if I get back 100% up 😄 |
@yarthur Wiki page has been fixed @dritter Any strong objections on closing this issue? It seems we have settled on leaving the code points where they are in the Nerd Fonts Complete variations (the standard one 99.9% of users will use anyway) If something changes at this point the major version would have to bump anyway due to breaking changes |
Allright. Thanks @ryanoasis |
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. |
Hi again. ;)
This time the codepoints for octoicons seem to be wrong. Haven't found a pattern there. If I do an

echo "\uF020" "\uF000" "\uF001" "\uF005" "\uF0B2"
, none of the correct symbols show up:Ignore the wrong symbols in the theme..
Tested with NerdFonts 0.5.0
Knack Plus Nerd File Types Plus Font Awesome Plus Octicons Plus Pomicons
with iTerm2 on OSX Yosemite.The text was updated successfully, but these errors were encountered: