intel / intel-one-mono

Intel One Mono font repository
SIL Open Font License 1.1
9.23k stars 316 forks source link

Missing programming ligatures #9

Open alekrutkowski opened 1 year ago

alekrutkowski commented 1 year ago

Like those in e.g. Cascadia Code (https://github.com/microsoft/cascadia-code#font-features) and JuliaMono (https://juliamono.netlify.app/#contextual_and_stylistic_alternates_ligatures).

MatthewTurrini commented 1 year ago

Thanks for the feedback. Adding ligatures is something we may consider for a future release.

CueXXIII commented 1 year ago

Please don't. Or at least make them optional vi a 2nd font. Matthew Butterick has an informative blogpost about those ligatures which I fully agree with: https://practicaltypography.com/ligatures-in-programming-fonts-hell-no.html tl;dr: They introduce ambiguities with their real unicode codepoints and they will be wrong in certain cases.

Hussseinkizz commented 1 year ago

Then without ligatures a few to no programmers will use this font, choose your audience, we want ligatures!!!

prassee commented 1 year ago

I would second the idea of maintaining dual version. Hence I incline to the idea of having ligatures.

Hussseinkizz commented 1 year ago

I would second the idea of maintaining dual version. Hence I incline to the idea of having ligatures.

Ok sure, that also works, and in some versions could something like what fira code iscript font does, making some things like imports, tag names and etc italic, I can share a shot of it if needed!

alekrutkowski commented 1 year ago

Please don't. Or at least make them optional vi a 2nd font. Matthew Butterick has an informative blogpost about those ligatures which I fully agree with: https://practicaltypography.com/ligatures-in-programming-fonts-hell-no.html tl;dr: They introduce ambiguities with their real unicode codepoints and they will be wrong in certain cases.

Normally, you switch on or off ligatures in your text editor (e.g. VS Code) so you don't need two versions of a font.

lone1y-51 commented 1 year ago

i want ligatures too.

alberic89 commented 1 year ago

Me too.

chrisdeeming commented 1 year ago

This will be a hard sell for me without ligature support so support this 100%

DaiQiangReal commented 1 year ago

Me too.

friscodelrosario commented 1 year ago

I had already begun recommending IntelOne Mono as the greatest nerd font yet. I assumed ligatures were already in place, for thinking 'how could they not'?

Upvote, and I hope when you get around to implementation, the poorly-sighted folks reprise their parts.

openendings commented 1 year ago

Normally, you switch on or off ligatures in your text editor (e.g. VS Code) so you don't need two versions of a font.

Seconding this: ligatures can be disabled. Fonts distributed in 'newer' formats like OpenType (*.otf) group ligatures etc. under 'features' (cf. "stylistic sets", see also gsub for starters), which can be independently toggled on/off. Recent IDEs and UIs allow toggling some of these, not others. E.g. Fira Code separates different ligatures like so.

The maintainers would need to distribute some no-ligatures variations to ensure it wouldn't break older terminal clients, but for most other use cases it ought not to get in the way beyond a one-time settings change.

baguse commented 1 year ago

Upvote for this, I want to change my font to this but still waiting for the ligature support

mahimairaja commented 1 year ago

Wish to have ligature support

sainnhe commented 1 year ago

Please don't. Or at least make them optional vi a 2nd font. Matthew Butterick has an informative blogpost about those ligatures which I fully agree with: https://practicaltypography.com/ligatures-in-programming-fonts-hell-no.html tl;dr: They introduce ambiguities with their real unicode codepoints and they will be wrong in certain cases.

You can always disable ligatures in your editor or terminal.

yvvt0379 commented 1 year ago

Imho, a variant with ligatures and a variant without would satisfy both sides, just like JetBrains Mono does.

Trying to impose one's own opinion into another person seems inappropriate though -- That won't help at all, it would only lead to an infinite quarrle, as each side thinks they are right.

yvvt0379 commented 1 year ago

Please don't. Or at least make them optional vi a 2nd font. Matthew Butterick has an informative blogpost about those ligatures which I fully agree with: https://practicaltypography.com/ligatures-in-programming-fonts-hell-no.html tl;dr: They introduce ambiguities with their real unicode codepoints and they will be wrong in certain cases.

Normally, you switch on or off ligatures in your text editor (e.g. VS Code) so you don't need two versions of a font.

However, unfortunately some IDEs (e.g. Microsoft Visual Studio) doesn't provide an option to switch ligatures on or off.

abelguevaralanda commented 1 year ago

Me too

HTcbaldwin commented 1 year ago

However, unfortunately some IDEs (e.g. Microsoft Visual Studio) doesn't provide an option to switch ligatures on or off.

Sounds like you should log an issue on Microsoft's Visual Studio Github repo... :disappointed: Oh right you can't, it's closed source.

yvvt0379 commented 1 year ago

However, unfortunately some IDEs (e.g. Microsoft Visual Studio) doesn't provide an option to switch ligatures on or off.

Sounds like you should log an issue on Microsoft's Visual Studio Github repo... :disappointed: Oh right you can't, it's closed source.

However, we can still post issues on Visual Studio Developer Community.

zamaniafshar commented 11 months ago

Please add ligatures sooner

Tanhe commented 3 months ago

Ligatures please. As others have mentioned in a separate font probably is the best solution for opt-in,

FredShallcrass commented 3 months ago

Hello programming ligature enthusiasts.

We are in the process of adding support for programming ligatures and box drawing characters to Intel One Mono. We are currently at a BETA stage which is a good time to get feedback on the character set and forms.

In this zip file is a beta build which you can install to try out the new character set. While you are trying out the ligatures, there are a few things to note:

Rendering – There are some rendering issues with overlapping glyphs in some of the programming ligatures. This will be addressed in the final build.

Feedback Timeline – In order to make sure your feedback is heard, please post any thoughts in this thread by the end of the week. (Sunday 17th of March)

Calt Feature – In this beta build, the ligatures will be activated by default through the calt feature. This will ensure they are easy to test, but in the final build the ligatures will be accessed though stylistic sets in order to ensure those who do not use ligatures can continue to have them off by default.

Thank you for your time and thoughts!

Intel One Mono Programming Ligature BETA.zip

merlindru commented 3 months ago

@FredShallcrass These ligatures are awesome! There's a huge set of them, you covered everything I could think of off the top of my head. Great work, really

Personally, i'd wish there's ligatures i could disable, like the www one (which confuses me when looking at it, esp because i don't see it often day-to-day)

It's really cool to see that things like ----- becomes one long dash that still has "seams" where you can tell each character apart

or that ==> works with infinitely many = chars

I also love that there are pairs that are just made to look better, like := where the : changes in height, or && and :: where they move slightly closer together

Amazing work, thanks for creating & updating Intel One Mono <3

arjpar commented 3 months ago

@FredShallcrass I also think the ligatures are excellent! Apart from the rendering issues and calt features (enabling ligatures via stylistic sets, etc) you mentioned, the ligatures are great. When do you think the final build will be released?

FredShallcrass commented 3 months ago

Thank you for the feedback!

We can certainly separate out the www ligature from the main stylistic set. That glyph seems to be logically seperate too, so that works.

The fonts are being hinted right now and we will get started on a new build as soon as they are done, but we do not have a specific upload date yet.

alphabitserial commented 1 month ago

I'm looking forward to the next release with ligature support!