-
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
Fonts from 2.0 release are not being correctly identified as Monospace #270
Comments
I have the same with the three I have tried so far:- Hack, Anonymous Pro and Bitstream Vera. I've installed "Font Manager" which has a bit more functionality than the standard Gnome "Fonts" app, and it it showing all three of these as having proportional spacing - which is why Gnome Terminal will not list them. I downloaded the files from the release archive (https://github.com/ryanoasis/nerd-fonts/releases/tag/v2.0.0) as per the instructions. |
I tried with Fura, and I found the same issue. |
So, try this sudo rm /etc/fonts/conf.d/70-no-bitmaps.conf I know its not a bitmap font but I have had more luck since I did that. |
Could be works, but I don't like this solution.
And it would be awesome to have them works without this fix |
@matjam, I tried your solution, but it did not work or me. It listed a lot of new fonts, but not |
Workaround = Goto Releases, Click Tags, Select 1.2, Download. |
@Gargoyle it seems to work, with Fira font at least. |
Yes. Something has gone wrong with the build process for 2.0 and none of the fonts (None of the 6-8 that I have tried, anyway) have the correct "spacing" parameter, so they are not being recognised as monospaced fonts when they are installed. The 1.2 ones all seem fine. |
The workaround proposed by @Gargoyle works, but the glyphs are small. I read that this is known and there is not much to be done because of the mono font type. My way of solving this was to change from gnome-terminal to ROXterm, as it is very much like gnome-terminal and accepts the non-mono version of the Meslo font. Should I close this issue, or should I leave it open, as the issue still persists for gnome-terminal? |
My gut feeling is that it would be @ryanoasis decision to close or not. However, you might want to re-name the title since it's not only an issue with gnome-terminal. The 2.0 versions will not show anywhere when you are searching for Monospaced fonts. Title suggestion: "Fonts from 2.0 release are not being correctly identified as Monospace" |
Hey thanks everyone this is definitely a big issue that I have been following along with quietly. I won't be able to contribute too much to this project for the next several months but if I get some time and there are quick wins or PRs I will do my best 😄 |
They do not appear in the selection box, however, with any gconf editor one can set the font of the respective profile manually. I used dconf-editor and modified the value in the respective profile found beneath |
I'm not sure I would recommend that, @xasx. The developers of gnome-terminal have deliberately put measures in place to make sure only monospaced fonts are used. If you use a gconf editor to "get round" that limitation, then you are opening yourself up to possible problems/issues which the developers have tried to avoid or would not expect to happen. |
@Gargoyle Nice title change suggestion. Also, your solution for Gnome terminal is great but does mean that people miss out on a lot of the improvements made in 2.0 like the addition of the Material Icons and other updates. If there is an issue with the builds in 2.0 we should probably keep this issue focused on that which, sounds like, fixes multiple problems. |
@Gargoyle I'd not generally recommend this. However, it is a way I found to make something work that should be actually working - that said, keep in mind that the bug is actually on NerdFonts side making it impossible for gnome-terminal to correctly detect it as being monospaced (or usable, whatever counts). |
Reverting 31d7524 and recompiling fonts seems to solve the issue (with Fura Code and Qterminal). |
I downloaded Terminator, which I believe is a fork of Gnome Terminal, and nerd fonts show up and work perfectly there. The functionality and settings options of Terminator and Gnome Terminal are very similar. |
Hitting this from aur package in ArchLinux https://aur.archlinux.org/packages/nerd-fonts-complete/ , which uses latest release. Gnome terminal does not recognize most of the fonts as monospace, so they are not showing up. |
i fixed this in my fork, i did a pull request. i'm new at this, sorry. |
@haasosaurus you need to do a pull request on this project not on your fork. |
@zfil thank you, i fixed it |
you can use the fonts in this branch of my fork for the time being, let me know if they work if you try them please. https://github.com/haasosaurus/nerd-fonts/tree/regen-mono-font-fix |
There's a way to get around this with everything working for the Gnome-Terminal. Start up "dconf-editor" in the terminal. Then go to org>gnome>terminal>legacy>profiles:>profile id>font and change the custom value to the font you wish to use. So far the Meslo LGL font you would put in MesloLGL Nerd Font Regular 12 |
@mrcush Already mentioned above why that might not be a good idea. If you mess with dconf-editor manually, you could get the application into states the developers didn't anticipate. |
@mrcush / @gymgle, yes However, it shouldn't become habit to use such a tool without due consideration. Today it's just a font issue, tomorrow it could be something a bit more critical. As an example, make a mental node of this little gem which seems to becoming an increasingly popular way to tell users to install some bit of software:-
Yes, it's a one liner that any fool can copy and paste. But it doesn't stop it being dumb. |
The font setup is still problematic because of this bug in NerdFonts. ryanoasis/nerd-fonts#270
The fork that @haasosaurus has worked immediately for me with a Gnome 3 Terminal / Ubuntu 18.04 setup. Are we waiting for a PR at this point @brennanfee? |
Thanks all. Getting back up to speed on things |
All ttf fonts from 2.0.0 are broken in Windows (they don't show up with |
@villasenor I don't have a pending PR for this. However, I can report that I have verified the fork and patch that @haasosaurus created and the fonts work on windows for the console and various editors. @mg979 I was also able to verify that the fonts show up in gVim (on windows) when using :set guifont=* |
Thanks @brennanfee and @mg979 |
Any update here? Really looking forward to this fix. |
Anything we can do to get this released? Could be lots of interest in NerdFonts after the demos of the new Windows Terminal at \Build\ conf this week 😉 |
The only thing blocking is me (#283 (comment)) testing out the #283 PR specifically the possible issue that #283 (comment) brings up. If someone else wanted to test out the issue brought up and either fix it or be unable to replicate then I'd be inclined to merge. Perhaps we could even just merge knowing the side effect. I am torn. I won't be able to do much on the project until June unfortunately. Thanks for the patience |
The actual built fonts in from regen-mono-font-fix/patched-fonts seem to have some issues with ligatures. I'm getting this: |
@ryanoasis Merge it, seems weird to wait so long to fix something that is broken. If it introduces another bug then let's have at it. |
It does seem like this is preventing many programs from recognising the fonts as usable, which affects a lot of people hugely. The blocking bug only affects those that use ligatures/diacritics, and even then they can still use the rest of the font. |
#283 has been merged, sorry for the wait. Let's move forward 😄 |
@ryanoasis is there a way to download patched fonts with this fix? Thank you. |
@damnskippy Not at the moment. We need to run the rebuild script to re-patch all the fonts (takes a few hours). This isn't an issue but I'd like to batch several source font changes in too (since we are rebuilding anyway to avoid having to rebuild the source fonts for each change). E.g. #289 will likely be done before re-patching everything. Thanks |
Hi @ryanoasis . I'm sorry to bug you, as I'm sure you're very busy. But may I please ask when you might be able to run the rebuild script to re-patch all the fonts, now that #283 has been merged? Even if the fix for #289 is not ready yet, I think getting re-patched fonts out sooner will help a lot of people. Thank you very much - we appreciate it! |
@errantepiphany No worries, I am going to try to push out edit |
@ryanoasis Awesome news - thank you! |
Hi Ryan, would you mind giving a status update here please? |
@BlueDrink9 I am updating the changelog for |
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. |
🎯 Subject of the issue
Initial issue description (from 23/May/2018)
I use Meslo LG M for Powerline and want to use the Nerd Fonts patched version. I tried all Meslo LG M in the repository, but none of them appeared in the gnome-terminal's fonts list. they were listed in the system, thought (in the fonts application).
I also downloaded the original ones, without any patches, and they got listed.
Anyone has any clue about how to fix this?
Update 24/May/2018
I have also tried
Droid Sans
, and it is not being listed too.I downloaded Terminator to see if it lists them, and it did.
Update 31/May/2018
With other people experiencing the same issue with other fonts, the issue's title was updated from "Meslo fonts not being listed on gnome-terminal" to the current one, as suggested by @Gargoyle.
🔧 Your Setup
The text was updated successfully, but these errors were encountered: