Code Monkey home page Code Monkey logo

Comments (17)

cseelus avatar cseelus commented on August 10, 2024 1

I've just recreated the Nerd Font version with different ligature settings, as the kerning issues are caused by Ligaturizer (see my comment above). Still not ideal, but unless the Ligaturizer kerning issue is resolved, there is not much I can do about it.

from monego.

matteematt avatar matteematt commented on August 10, 2024 1

@cseelus yeah unfortunately it still seems like an issue. It seems to affect hardly any of the symbols but unfortunately with it affecting the . symbol which is used loads in programming it makes it look very strange
I don't know anything about fonts, ligatures, and kerning. So going to have to learn about it and see if I can come up with anything. Will be unlikely but I really like the font so I think it is worth a go

from monego.

cseelus avatar cseelus commented on August 10, 2024

Hey @krupenja. The issue seems to stem from Ligaturizer. Does this version without ligatures work for you?

from monego.

IgorKrupenja avatar IgorKrupenja commented on August 10, 2024

No, sorry, the problem persists even with the version without ligatures from your comment.

from monego.

prashaantt avatar prashaantt commented on August 10, 2024

Reporting in with the same issues.

Liga Monego/Monego Nerd Font:

image

Monego:

image

Notice the different kerning in erv, . and ;.

Otherwise I really dig your font. Have you been able to figure a fix for this yet @cseelus?

from monego.

cseelus avatar cseelus commented on August 10, 2024

@prashaantt Currently I'm not using Monego, so I can't test, but PRs are welcome.

from monego.

matteematt avatar matteematt commented on August 10, 2024

Did anyone ever find a fix for this because I just downloaded them and I am having the same issue

from monego.

matteematt avatar matteematt commented on August 10, 2024

Any movement on this?

from monego.

matteematt avatar matteematt commented on August 10, 2024

Hi I am going to try look into this issue myself, but I need to ask a few questions to kind of know where to start. I see in the linked comment here that the issue seems to be from using the ligatures. Am I correct in thinking that ligatures are the things where a syntax such as => gets turned into one arrow symbol? If so, why does the nerd font that doesn't have the ligatures have the issue? Or does the nerd font automatically create the ligatures?

from monego.

cseelus avatar cseelus commented on August 10, 2024

Hi @matteematt, the Nerd Font version is based on the version with the ligatures and yes, those are special characters that replace => and others.
Did you test the new version?

from monego.

cseelus avatar cseelus commented on August 10, 2024

I'm on macOS and the dot seems to be looking good now:
Screen Shot 2022-03-05 at 21 58 08

Here are some other programming fonts, for comparision:

Screen Shot 2022-03-05 at 21 57 12 Menlo (macOS monospace font that followed after Monaco)

Screen Shot 2022-03-05 at 21 56 48 PT Mono

Still, the letter-spacing/kerning isn't optimal, so if you manage to improve upon the current state with Ligaturizer and Nerd Fonts, I'd be more than happy to merge it.

from monego.

matteematt avatar matteematt commented on August 10, 2024

I haven't checked MacOS (can check tomorrow once I use my work laptop). This is the issue I am seeing on my PC though (Arch Linux + Alacritty)
before_1
before_2
You can really notice the issue with the placeholder symbols I am using to represent spaces in the yaml files, but you can also see in the Haskell file that the dot on line 29 is very obviously mismatched (same with the # and some other symbols).

I have made some progress and I have tested it on machine and it looks good to me. Here are the same two examples.

after_1
after_2

I was going to make a draft PR so you could check them on your machine (or so I could check them on my Mac) but it seems I don't have rights to push to this repo. Is that something you need to allow, or do I need to make a PR another way? Sorry I haven't really contributed to any public repos before

from monego.

matteematt avatar matteematt commented on August 10, 2024

Another issue I would like to fix too is the font underlining. Here is a font with underlining that you can see goes underneath the text
image
But the underlining seems to intersect with the text in this font slightly
image

from monego.

matteematt avatar matteematt commented on August 10, 2024

Fixed that too I think
image

from monego.

cseelus avatar cseelus commented on August 10, 2024

@matteematt, seems you made great progress improving the font. I’ll check it out when I’m back in my computer.

To make a PR in a public Github repo, you have to follow these steps: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork

from monego.

cseelus avatar cseelus commented on August 10, 2024

@matteematt I‘ve added you as a collaborator, so you should be able to open a PR here directly.

from monego.

matteematt avatar matteematt commented on August 10, 2024

@cseelus I have created a PR with the fixed nerd font. Feel free to test it out and let me know any issues. I have now tested on MacOS too and it seems to work fine. However, I have noticed the ligature symbols themselves are still not fixed - more info on the PR. I personally don't use ligatures though

from monego.

Related Issues (13)

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.