Skip to content

not all char from nerd font loaded correctly #256

Open

Description

@xarthurx

FVIM:
image

Terminal:
image

nvim-qt:
image

As you can see above, the "arrow" char is not shown correctly in FVIM.
(nvim-qt is not using the nerd version, you can see from the status bar, but still show this char correctly)

Terminal version nvim shows everything correctly.

Activity

  1. WillEhrendreich commented on Aug 1, 2023

    @WillEhrendreich
    Contributor

    I think this has to do with nerd font changing the layout in version 3... or something.

  2. xarthurx commented on Aug 3, 2023

    @xarthurx
    Author

    Additional info here:

    image

  3. WillEhrendreich commented on Aug 4, 2023

    @WillEhrendreich
    Contributor

    the "mapping" of the nerdfonts is done incorrectly, because of a breaking change from nerd font.

    ryanoasis/nerd-fonts#1059
    ryanoasis/nerd-fonts#365

    any nerd font 3.0 or greater it seems is unable to work, fvim is pointing to the wrong place for the icons.

    you'll see it working if you change your font to an old version of iosevka nf, like the one included in the repo.

    I have also created an issue, and tagged @yatli, however he seems likely to be busy and possibly unable to help, as I've gotten no response. I can't imagine how hard it must be to support a bunch of users for free on the internet, so I completely understand that it is likely just out of scope for him to jump at every issue. Open source is just hard it seems, for both the contributors and the users at times.

    I know he has and still does accept pr's from time to time. Maybe we as the fvim community can come to the rescue here!

    So, I don't know if it is relevant, but someone wrote this python script to do some sort of conversion, but I'm not sure how it interacts with something like fvim. It may be helpful so, I'm linking it here:

    https://gist.github.com/mischw/78e8e42c2ebb1069560a2fc4573b1425

    This is the last commit that dealt with this sort of thing that I can see, so perhaps this gives us enough information to create a pr?

    2dc1579

    I think this is the most relevant part.. as I don't think the txt file is referenced explicitly, or, at least I would guess that yatli would write this as type safe as possible, instead, as keeping super type safe is kinda the fsharp mindset.

    fvim/wcwidth.fs

    Line 499 in 2dc1579

    let NerdFont = [|

  4. xarthurx commented on Aug 4, 2023

    @xarthurx
    Author

    the "mapping" of the nerdfonts is done incorrectly, because of a breaking change from nerd font.

    ryanoasis/nerd-fonts#1059 ryanoasis/nerd-fonts#365

    any nerd font 3.0 or greater it seems is unable to work, fvim is pointing to the wrong place for the icons.

    you'll see it working if you change your font to an old version of iosevka nf, like the one included in the repo.

    I have also created an issue, and tagged @yatli, however he seems likely to be busy and possibly unable to help, as I've gotten no response. I can't imagine how hard it must be to support a bunch of users for free on the internet, so I completely understand that it is likely just out of scope for him to jump at every issue. Open source is just hard it seems, for both the contributors and the users at times.

    I know he has and still does accept pr's from time to time. Maybe we as the fvim community can come to the rescue here!

    So, I don't know if it is relevant, but someone wrote this python script to do some sort of conversion, but I'm not sure how it interacts with something like fvim. It may be helpful so, I'm linking it here:

    https://gist.github.com/mischw/78e8e42c2ebb1069560a2fc4573b1425

    This is the last commit that dealt with this sort of thing that I can see, so perhaps this gives us enough information to create a pr?

    2dc1579

    I think this is the most relevant part.. as I don't think the txt file is referenced explicitly, or, at least I would guess that yatli would write this as type safe as possible, instead, as keeping super type safe is kinda the fsharp mindset.

    fvim/wcwidth.fs

    Line 499 in 2dc1579

    let NerdFont = [|

    This should be helpful to fix this issue.
    It is a bit unfortunate that I know nothing about F#... Seems we can only hope @yatli can have time for this at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions