intel-one-mono icon indicating copy to clipboard operation
intel-one-mono copied to clipboard

Missing programming ligatures

Open alekrutkowski opened this issue 1 year ago • 26 comments

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).

alekrutkowski avatar May 18 '23 20:05 alekrutkowski

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

MatthewTurrini avatar May 20 '23 17:05 MatthewTurrini

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.

CueXXIII avatar Jun 07 '23 04:06 CueXXIII

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

Hussseinkizz avatar Jun 08 '23 02:06 Hussseinkizz

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

prassee avatar Jun 08 '23 02:06 prassee

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!

Hussseinkizz avatar Jun 08 '23 06:06 Hussseinkizz

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.

alekrutkowski avatar Jun 08 '23 06:06 alekrutkowski

i want ligatures too.

lone1y-51 avatar Jun 08 '23 07:06 lone1y-51

Me too.

alberic89 avatar Jun 08 '23 18:06 alberic89

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

chrisdeeming avatar Jun 10 '23 23:06 chrisdeeming

Me too.

DaiQiangReal avatar Jun 12 '23 11:06 DaiQiangReal

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.

friscodelrosario avatar Jun 13 '23 01:06 friscodelrosario

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.

openendings avatar Jun 15 '23 04:06 openendings

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

baguse avatar Jun 15 '23 13:06 baguse

Wish to have ligature support

mahimairaja avatar Jun 16 '23 09:06 mahimairaja

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.

sainnhe avatar Jun 21 '23 01:06 sainnhe

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 avatar Jun 21 '23 07:06 yvvt0379

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.

yvvt0379 avatar Jun 21 '23 07:06 yvvt0379

Me too

abelguevaralanda avatar Jun 22 '23 12:06 abelguevaralanda

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.

HTcbaldwin avatar Jun 23 '23 16:06 HTcbaldwin

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.

yvvt0379 avatar Jun 24 '23 01:06 yvvt0379

Please add ligatures sooner

zamaniafshar avatar Aug 07 '23 10:08 zamaniafshar

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

Tanhe avatar Mar 07 '24 17:03 Tanhe

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

FredShallcrass avatar Mar 13 '24 16:03 FredShallcrass

@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

merlindru avatar Mar 30 '24 19:03 merlindru

@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?

arjpar avatar Apr 05 '24 12:04 arjpar

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.

FredShallcrass avatar Apr 05 '24 20:04 FredShallcrass

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

alphabitserial avatar May 22 '24 02:05 alphabitserial

Release 1.4.0 includes box drawing glyphs and programming ligatures.

FredShallcrass avatar Jul 26 '24 14:07 FredShallcrass

I don't see any difference, I must be doing something wrong. I've tried using it with both iTerm2 and MacVim. I thought '->' was a programming ligature, but it doesn't join into an arrow. Other fonts do.

rwmitchell avatar Jul 26 '24 22:07 rwmitchell

I don't see any difference, I must be doing something wrong. I've tried using it with both iTerm2 and MacVim. I thought '->' was a programming ligature, but it doesn't join into an arrow. Other fonts do.

You need to activate the appropriate OpenType function. Programming ligatures are activated with the first stylistic set, (+ss01). On how to activate that option, I found this page from a different font project

https://github.com/tonsky/FiraCode/wiki/How-to-enable-stylistic-sets

Maybe Intel-one-mono need a similar page?

RGB-es avatar Jul 27 '24 15:07 RGB-es