nerd-fonts icon indicating copy to clipboard operation
nerd-fonts copied to clipboard

Space Mono pre-patched font displays weird glyph for characters 'fl'

Open HuM4NoiD opened this issue 5 years ago • 15 comments

🎯 Subject of the issue

The Characters f and l combine into a weird glyph, this only happens for lower case. I needed a monotype font, so I installed mono variant. Installing any other variant leads to non detection of the font when mono variants are strictly required I have attached screenshots of Android Studio, VSCodium and Notepad. I have installed mono variants of other fonts, none of them face such problems

🔧 Your Setup

Installed pre-patched font Space Mono from downloads SpaceMono Nerd Font Mono variant. Link VSCodium, Android Studio, Notepad Windows 10

★ Optional

SpaceMonoError

HuM4NoiD avatar May 12 '20 14:05 HuM4NoiD

this seems similar to #469.

hakamadare avatar May 12 '20 18:05 hakamadare

Been having this issue with most nerd fonts... What's the proper workaround?

demfabris avatar May 18 '20 05:05 demfabris

https://github.com/ryanoasis/nerd-fonts/issues/254#issuecomment-626362197

polyzen avatar May 18 '20 05:05 polyzen

Thank You I'll update once I have tried the fix

HuM4NoiD avatar May 18 '20 07:05 HuM4NoiD

Any news on how it worked out @HuM4NoiD? I've been having the same issue, but was hesitant to mess around with fonts since I have no experience there.

Edit: Also, this issue should be left open as it isn't yet fixed.

Interesting-name avatar Jun 05 '20 08:06 Interesting-name

Any news on how it worked out @HuM4NoiD? I've been having the same issue, but was hesitant to mess around with fonts since I have no experience there.

Edit: Also, this issue should be left open as it isn't yet fixed.

I downloaded the original Space Mono from Google Fonts, Copied the specified glyphs in FontForge (U+FB01, U+FB02) and deleted the next few glyphs, saved the edit as sfd. I will generate otf/ttf and then notify.

HuM4NoiD avatar Jun 05 '20 11:06 HuM4NoiD

Short term solution would seem to be not overwrite codepoints used for ligatures. Long term would be moving codepoints 🤔

ryanoasis avatar Sep 17 '20 04:09 ryanoasis

The generated fonts after removing symbols obviously work @Interesting-name @ryanoasis Should I keep this issue open till it is fixed or close it?

HuM4NoiD avatar Sep 18 '20 14:09 HuM4NoiD

I have a similar issue with the nerdfont-provided Ubuntu font: every fi ligature is displayed as nf-mdi-phone_classic. It drove me crazy because of course this ligature isn't used consistently :)

Epholys avatar Nov 11 '20 01:11 Epholys

Any update on this ? The ligature is still showing incorrectly.

AliMejbar avatar Apr 19 '22 17:04 AliMejbar

This should have been fixed by #711.

I'm not sure which files are patched with that PR in place, maybe the v2.2.0RC has them already, else please use the font files directly from the repo: https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts

Finii avatar Apr 22 '22 07:04 Finii

Can confirm that the issue is fixed in the v2.2.0RC. Although getting it directly from https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts did not work. So hopefully tools life getnf will be able to get the correct ones when v2.2.0 goes live :)

KaranAhlawat avatar Jun 20 '22 09:06 KaranAhlawat

Sorry, so what's the best way to fix this?

nicolasshu avatar Jul 05 '22 05:07 nicolasshu

Sorry, so what's the best way to fix this?

Go to the releases page, download the v2.2.0RC or above, extract the package, and then copy the font to the desired location. That should be it.

KaranAhlawat avatar Jul 05 '22 07:07 KaranAhlawat

under "fi" also gives the symbol

sh1zicus avatar Jul 23 '22 10:07 sh1zicus

All fi renders as phone should be fixed now with v2.2.1. Please reopen if I err ;-)

Finii avatar Aug 28 '22 11:08 Finii

I am still facing this issue, I installed spacemono nerd font using homebrew. For example writing amplify configure image

I also installed jetbrains mono nerd font using homebrew and that works fine

ayush-seth avatar Nov 26 '22 08:11 ayush-seth

~~Can you give the version of the file? Where you downloaded it?~~ Oh, you already gave it :grimacing: Let's see, I'm working on homebrew currently anyhow...

image

Ah, you see the homebrew stuff has not been updated. This will be fixed together with #1003. Currently the casks are not maintained by Nerd Fonts but by whoever has interest in maintaining :grimacing: Obviously noone had interest in updating SpaceMono.

I'm currently writing the stuff needed that we (i.e. Nerd Fonts) automatically maintains the casks.

Finii avatar Nov 26 '22 09:11 Finii

@Finii oh, sorry I should have checked the version in homebrew myself. Thank you for responding. I installed v2.2.0 manually and can confirm that this is issue is resolved

ayush-seth avatar Nov 26 '22 09:11 ayush-seth

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.

github-actions[bot] avatar May 29 '23 00:05 github-actions[bot]