GithubHelp home page GithubHelp logo

Comments (16)

larsenwork avatar larsenwork commented on August 21, 2024

I think it's enough just to remove the liga + calt
Single substitution ones are only called through liga and calt (if you look in font.props you can see that the single substitution ones have no script/language specified)

from monoid.

chase avatar chase commented on August 21, 2024

Right, gsub_lookups just lists all possible lookups. There isn't a real way to query it, so I have to chug through all of them to try and find gsub_ligature and gsub_contextchain to remove liga and calt sublookups.

from monoid.

larsenwork avatar larsenwork commented on August 21, 2024

Ok, wait a bit doing anything as I'll see if can use just calt and that might solve the issue.

from monoid.

chase avatar chase commented on August 21, 2024

I think adding this as an option is a good idea either way, because I personally would prefer to see "<= over ≤" in my code simply due to trained recognition.

from monoid.

larsenwork avatar larsenwork commented on August 21, 2024

Yep, but no reason for doing so in the build scripts because if everything is contextual alternates then you'll have to actively enable "calt" in your editors for it to appear.

from monoid.

larsenwork avatar larsenwork commented on August 21, 2024

i think...

from monoid.

chase avatar chase commented on August 21, 2024

Unfortunately, Linux users are stuck with xft which renders pretty much every font everywhere. Hardly anyone bypasses font rendering options, since font rendering is already a difficult problem handled by xft. Given that xft doesn't support disabling contextual alternates, this means that one can't simply disable contextual alternates or ligatures.

This commonly leads to Linux-specific forks for fonts that ligatures, like Monaco: https://gist.github.com/epegzz/1634235

from monoid.

larsenwork avatar larsenwork commented on August 21, 2024

Ah...I'm not a linux guy :)

from monoid.

larsenwork avatar larsenwork commented on August 21, 2024

I've disabled it in source until we get it sorted out :)

from monoid.

chase avatar chase commented on August 21, 2024

I'll have this ready tomorrow and everything should be good to go before the 25th 👍

from monoid.

larsenwork avatar larsenwork commented on August 21, 2024

Perfect - not critical though so don't 😅

The whole concept is still quite experimental in terms of editor support.

from monoid.

larsenwork avatar larsenwork commented on August 21, 2024

does the disable thing work now?

from monoid.

chase avatar chase commented on August 21, 2024

Nope, didn't implement that yet. Will get around to that next weekend.

from monoid.

larsenwork avatar larsenwork commented on August 21, 2024

No stress, just curious 😄

from monoid.

glebd avatar glebd commented on August 21, 2024

Just wanted to say -- excellent font, really shaping up to be the best programming font. Looking forward to having ligatures again -- Monoid was the only font with ligatures that worked in OS X Terminal and Xcode. Thank you for your work, truly well done.

from monoid.

larsenwork avatar larsenwork commented on August 21, 2024

@glebd cheers, ligatures will reappear for sure - any ideas/suggestions about ligatures are much welcomed in #25 👍

from monoid.

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.