Giter Site home page Giter Site logo

Comments (10)

zb140 avatar zb140 commented on May 27, 2024 1

Yes, it does show up in the Windows font folder. On my system, I've got both Hack-NF and Hack-NF-Mono installed. They show up in the font folder as one font called Hack NF with 8 faces, some of which happen to be monospaced. The place where it doesn't show up is in the console settings font picker or the gVim font picker. Here's an example:
image

I have just made an interesting discovery though. While I was verifying the answer to your question and making sure I hadn't made any silly mistakes, I discovered that if I change the console settings to use Hack NF using concfg (https://github.com/lukesampson/concfg) rather than the font picker, it actually does change the font to Hack. Likewise, if I put set guifont=Hack_NF in my .vimrc, gVim will use it, even though it's not available as a choice in the font picker.

So I guess the bottom line is, I can get the experience I want without actually having to install any other fonts, as long as whatever tool I'm using has a way to set the font without actually using the picker. I suspect the reason they don't show up in the pickers is that Windows is considering the mono and "regular" versions together as one font. The non-"Windows Compatible" version doesn't get lumped in with Hack NF, which is probably why it does show up in the pickers.

As far as this issue is concerned, I think the title is a little misleading. It's not that the "Windows Compatible" fonts don't work on Windows 10, it's that (at least some) things that try to limit themselves to monospaced fonts can't tell that any of the "Windows Compatible" fonts are monospaced. I'm not sure there's anything to actually be done about that, except possibly add a way to install the other variants alongside the "Windows Compatible" ones.

from scoop-nerd-fonts.

matthewjberger avatar matthewjberger commented on May 27, 2024

I'm on windows 10 as well and not experiencing this issue. Could you try scoop install cmder and then scoop install hack-nf and let me know if the font appears in the 'Fonts' list of the cmder settings?

Or are you getting an error when you attempt to install the font?

from scoop-nerd-fonts.

iguyking avatar iguyking commented on May 27, 2024

It installs without error.

I'm using the default Windows Terminal that comes with Powershell. Upon further digging the pattern used by nerdfonts for deployment is to just install all the fonts in the zip, both matches. They also show up in the font list as a single font with 8 font faces. This pattern shows up as different fonts.

Further digging, the Hack NF named font (Windows Compatible one) comes in as a single font with 8 different faces. All the other fonts follow the major families naming and related to the same family gets merged together to having different font faces. So Hack Nerd Font & Hack Nerd Font Mono both have 4 font faces.

The current list of fonts do show up with cmder.

from scoop-nerd-fonts.

iguyking avatar iguyking commented on May 27, 2024

Solution 4: Install all the fonts in one go. Not just the Windows Compatible ones.

from scoop-nerd-fonts.

matthewjberger avatar matthewjberger commented on May 27, 2024

I'd be curious if this were to happen on a separate computer. Do you have another Windows 10 machine you could attempt the installation on? I have multiple at home that I can't reproduce the issue with currently

from scoop-nerd-fonts.

fv-ian avatar fv-ian commented on May 27, 2024

from scoop-nerd-fonts.

zb140 avatar zb140 commented on May 27, 2024

I'm having this exact same problem. If I install just the "Windows Compatible" fonts, I can't use them in built-in console windows, nor in gVim. They simply do not appear as options. If I install the non-"Windows Compatible" mono font, I can use that one in Vim and in console windows without issue.

I don't know if it's relevant, but I can use the "Windows Compatible" version in the new Windows Terminal.

For now I'm working around this with my own bucket containing Hack-NF-NonWin and Hack-NF-Mono-NonWin but it'd be great to figure out a way to make the "standard" ones work. I'm happy to help if I can.

from scoop-nerd-fonts.

matthewjberger avatar matthewjberger commented on May 27, 2024

Thank you for providing more insight on this! I added a Hack-NF-nonwin manifest that excludes the windows compatible fonts and only installs the non windows compatible fonts. I'm going to try and find some time to add nonwin manifests for the rest of the fonts. There isn't a distinct nonwin and nonwin-mono manifest at the moment but that will probably be updated as well. I'll need to see if going down the path of having 4 distinct manifests (2 windows compatible mono and regular, 2 non-windows compatible mono and regular) is best. I'm not sure if scoop has a good way to handle manifests that are very similar, so I'll try generating them

from scoop-nerd-fonts.

zb140 avatar zb140 commented on May 27, 2024

Oh, you were too fast for me πŸ˜„ Thanks for adding them. Given my new discovery, though, maybe it's not necessary after all. I can see both sides of that argument. Whichever way you prefer to go, though, I think it's reasonable to close this issue now that it's pretty well understood.

from scoop-nerd-fonts.

matthewjberger avatar matthewjberger commented on May 27, 2024

@zb140 Thank you for investigating! I'll remove the manifest actually, based on the new info. Oddly enough I tried using the font through the gvimrc but I had used escaped spaces instead of underscores so it didn't recognize the font name (oops). I appreciate your help figuring this one out!

from scoop-nerd-fonts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.