-
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
Ubuntu Nerd Font having issues with ligatures displaying fi and fl wrong again #1221
Comments
[why] With Ubuntu-Regular the fi and fl ligatures are replaced by some font awesome icons. The problem is that the font uses the non-standard F001 and F002 codepoints as intermediate referencve to create the actual ligatures that are at codepoints FB01 to FB04. [how] All the normal ligature codepoints (FB00-FB06) are added to the glyph reference checker and codepoints that are referenced by these are not patched. This means that F001 and F002 stay on the original ligatures and the Font Awesome icons are missing, but this can not be fixed automatically and would need to 'rewrite' the references inside the font. Fixes: #1221 Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
[why] With Ubuntu-Regular the fi and fl ligatures are replaced by some font awesome icons. The problem is that the font uses the non-standard F001 and F002 codepoints as intermediate referencve to create the actual ligatures that are at codepoints FB01 to FB04. [how] All the normal ligature codepoints (FB00-FB06) are added to the glyph reference checker and codepoints that are referenced by these are not patched. This means that F001 and F002 stay on the original ligatures and the Font Awesome icons are missing, but this can not be fixed automatically and would need to 'rewrite' the references inside the font. Fixes: #1221 Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
Thanks again, fixed in 3.0.1 (will be) |
[why] With Ubuntu-Regular the fi and fl ligatures are replaced by some font awesome icons. The problem is that the font uses the non-standard F001 and F002 codepoints as intermediate referencve to create the actual ligatures that are at codepoints FB01 to FB04. [how] All the normal ligature codepoints (FB00-FB06) are added to the glyph reference checker and codepoints that are referenced by these are not patched. This means that F001 and F002 stay on the original ligatures and the Font Awesome icons are missing, but this can not be fixed automatically and would need to 'rewrite' the references inside the font. Fixes: #1221 Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
@Finii sorry the search |
In some fonts we could not solve this, where the ligature occupies the symbol codepoint directly. |
@Finii See the below explanation. Version 3.0.0 Verison 3.0.1 |
Ubuntu is set up that I do not know why the did this. Standard codepoint is The reference " What changed between 3.0.0 and 3.0.1 is that the patcher does not touch any "essential" glyphs, and also follows all references through the font (which can be many). Patching in at I will think about that and how we can improve the situation. |
@Finii yup, that the issue i cant understand why they did that way. will it because this is a |
I can think of no reason for this design. |
Maybe they did it to have a simpler design for the Removing the stuff is rather hard programmatically, you have to analyze multiple tables and references and see how it all fits together; I can do this manually but I am not good enough to program something that does it. Edit: The |
There are quite some fonts with this ...
|
@Finii one question, based from nerd cheatsheet, what is the different between codepoint For me both look identical, but the codepoint is different and the codepoint (e68f) is appear correctly in |
Well, there are slight variances in thickness, and handle roundedness :-D
Nerd Fonts is a collection of Icon sets and not 'a new set' with selected not-similar icons. Usually it's best to search via cheat sheet for what one likes the most: There is also |
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. |
[why] With Ubuntu-Regular the fi and fl ligatures are replaced by some font awesome icons. The problem is that the font uses the non-standard F001 and F002 codepoints as intermediate referencve to create the actual ligatures that are at codepoints FB01 to FB04. [how] All the normal ligature codepoints (FB00-FB06) are added to the glyph reference checker and codepoints that are referenced by these are not patched. This means that F001 and F002 stay on the original ligatures and the Font Awesome icons are missing, but this can not be fixed automatically and would need to 'rewrite' the references inside the font. Fixes: ryanoasis#1221 Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
🗹 Requirements
fi
shows as a telephone withInconsolata NF
#509, etc), but there is no issue for version 3.0.0 yet and the other issues are locked🎯 Subject of the issue
Experienced behavior:
fi and fl are displayed as
nf-fa-music
andnf-fa-search
Expected behavior:
normal displaying of fi and fl
🔧 Your Setup
Anonymice Powerline Nerd Font Complete.ttf
)?iterm2
,urxvt
,gnome
,konsole
)?★ Screenshots (Optional)
Can anyone reproduce this, is it maybe only NixOS?
The text was updated successfully, but these errors were encountered: