-
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
Have the fonts had their monospaced flag omitted? #909
Comments
Do you by chance know if there is a test version or test periode for Opus? So that I could reproduce... Can you check Caskaydia Cove? Because it is handled a bit differently. Do you install all fonts? Like Nerd Fond and Nerd Font Mono and the two Windows Compat ones? |
Literation looks bad :-o Is that really 2.1.1 and rebooted after update? Sorry Im not on Windows normally, so no quick check. |
60 day free evaluation: https://www.gpsoft.com.au/
I will have to try this tomorrow.
I've installed both options that the NF Scoop bucket provides, e.g. for Mononoki: Mononoki-NF-Mono.json and Mononoki-NF.json. I've tried uninstalling all NF fonts and only installing the "Mono" versions via Scoop, but that didn't do the trick (which is what worked for me last year to get Opus to see the monospaced fonts, at least, that seemed to be what I did right). I've tried numerous times, uninstalling, reinstalling, rebooting between each step, and Opus won't see them on my system, that is, specifically in its monospaced-only fonts lists.
I assume Literation is the same as Liberation: There is no LiteratinSans manifest so I assume it was installed via one of the LiterationMono manifests: Mono, Non-mono. Using "LiterationSans NF" as a font in VS Code does show that the font is double wide. |
Good information, will check that all out, thanks! |
I believe I'm seeing this issue on macOS with the JetBrains fonts as well. In Terminal.app, you can see a change in which fonts are listed under the "Fixed Width" filter under Profiles -> Fonts. Prior to 2.2.1, the JetBrains mono font was listed. Now it is not. |
I believe one problem is that the Family names are wrong after patching, at least for the This is hard to read, but anyhow. Here we see just the 'JetBrainsMono Ligatures Nerd Font Regular'. This includes 4 variants, 'Nerd Font non-Mono Have a close look at the Family name. For both Do you see the problem also in the non-Windows-Compat fonts? @jgeorge300 on Mac I assume you do not use the Windows Compat fonts? And still the question... is the problem als existing in Edit: |
I think I do recall seeing two distinct fonts families (mono and non-mono) listed per NF font in the Windows Fonts settings window before the last two release, so it sounds like this could be the issue. Should the fix be relatively easy then? |
Another problem is that the @redactedscribe that is all relatively easy to fix, and all solutions are already implemented as PRs. So the Family naming would be fixed if The monospace-iety would be fixed by #764, but that needs a lot of consideration (#900) It would be quite helpful if you could just look Caskaydia Cove up. |
If I've understood you correctly, the wait may be long.
I just installed CascadiaCode-NF-Mono.json and looked at Directory Opus and those NF mono fonts are displaying in the monospaced fonts only list. Nice, I guess that new algorithm works. |
Correct. I'm not using the Windows compat versions. I was able to upgrade the Caskaydia Cove fonts on macOS from 2.1.0 to 2.2.1 and see the same issue as I'm seeing with Jetbrains font. |
Thank you both.
Depending on my day work workload I hope for another bugfix release within September. (Of year 2022 ;-> ) |
I just found some time to install Opus on my windows test box. Then I installed just ONE of the Mononoki fonts:
I had the wrong item (File display vs Code editor) ... it does not show up: That's something I can work with. Interestingly |
Apparently SpaceMono Nerd Font also shows up, but I didn't test this myself, and I don't know if it uses the newer algorithm or not that you mentioned. |
Opus seems to be fixed after which I more and more believe is the way to go (#900) I have no Mac (well I have a mac build machine, but just |
Maybe @jgeorge300 would be able to take a look. |
@Finii I can test. I normally install my fonts via Home-brew. Can you point me to the version of the fonts that I can test manually. |
Ah great. If you can test and it is 'good' we can release a new bugfix version 2.2.2. The patching (via CI) is running here: https://github.com/Finii/nerd-fonts/actions/runs/3000805081 I will point you to the resultant archive (which you have to manually install, all individual font files), once it finishes, which is in about 20 minutes? |
I broke something :-> Edit: See 64d53b8 |
@jgeorge300 You can find the complete zip package with all font files here: Or select individual single ones here: The Family naming there is not touched (i.e. probably wrong), so it could be helpful to manually select just some fonts and not install all. Of course an additional test with all fonts would also be nice. Maybe @redactedscribe can do the same on Windows; or I can do that tomorrow. Edit: typo and correct release link |
@Finii I've manually installed the two non windows fonts from JetBrainsMono. The macOS Font Book now shows the fonts correctly. My broken app is now able to see the font as well. Terminal.app also lists it under fixed width fonts as well. |
Thank you for testing! |
Thanks to you also for testing :-)
Looks like real soon now ;-) |
Is this issue solved? I downloaded v2.2.2 but |
It is monospaced and has ligatures. Being monospaced has something to do with the cell width for each character, not if two consecutive characters are rendered differently (in their respective) cells. Nerd Font 'in general' does not tough ligatures; there are exceptions and misleading information about this in the documentation. What you probably want is
(Or maybe use |
How to turn off ligatures in (I do not know if that is current information or if they implemented an easier way to disable ligatures in the meantime.) |
@sarim see also #520 (comment) |
Yeah, I don't know much about how fonts work, I googled "nerd font without ligatures" and got this
Yeah, it worked. That was the easiest solution. Thanks :) |
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. |
🗹 Requirements
🎯 Subject of the issue
Experienced behavior:
A program I use called Directory Opus limits the selection of selectable fonts to those that have been marked or flagged in some way as being true monospaced fonts. With the NF 2.1.0 release of 2020, the program could see the Nerd Fonts in its list, but there was a problem with them being displayed if the non- "mono" suffixed Nerd Fonts of the same name were installed too. Previously, I just uninstalled all fonts and then installed only the "mono" suffixed fonts and the problem was solved, but now with 2.2.1, it doesn't matter if the "mono" suffixed fonts are the only ones installed, Directory Opus is unable to see them. The program can see the fonts when it's not limiting the font list to true monospaced fonts, but whatever method it was using to detect the flag doesn't work for 2.2.1 as far as I can tell. I assume something has changed regarding the Nerd Fonts' monospaced flags and not Directory Opus.
🔧 Your Setup
★ Screenshots (Optional)
Installed NF fonts according to Windows:
Fonts absent from Directory Opus' monospaced fonts list:
The Directory Opus developers have also been notified about the issue.
Thanks.
The text was updated successfully, but these errors were encountered: