5 ms·
Please stop it with the diatribes about ligatures. If you don't like them, don't use them. It's that simple. Other people do like them, and will continue to u
by amake 5y ago
Please stop it with the diatribes about ligatures.
If you don't like them, don't use them. It's that simple.
Other people do like them, and will continue to use and enjoy them.
- MikeTheGreat 5y agoSerious (if goofy:) ) question: How do I not use them? My understanding is that if the font has ligatures then the way to not use them is to use a different font (which is fine - there's a lot of fonts out there :) ). Is that the only way, or is there a way to disable ligatures but keep the rest of the font? Can you disable only some of the ligatures? TIA!
- kag0 5y agohow to not use them is editor dependent. but you absolutely don't have to use them. regular fonts are basically "use this image for 'a', this image for 'e'" etc. ligatures are extra data that says "if you find an 'a' next to an 'e', use this other image in place of the 'a' and 'e' images". but the non-ligature versions of characters are still in the font for use when there is no ligature sequence (just put a space in the middle of any ligature in your editor and you'll still see the independent characters rendered in the font).
- henriquecm8 5y agoLigature is a optional feature, first the editor need to support them, but I guess most editors nowadays already support that. JetBrains IDEs come with JetBrains mono and with ligatures enabled, last time I used VScode I had to enable manually for my new font.
- Aeolun 5y agoIn JetBrain products: Preferences -> Editor -> Font -> Enable ligatures So you can turn them off even in fonts that have them, but most fonts have separate versions with and without anyway.
- alexvoda 5y agoFor VS Code see (1) and to selectively disable them (2). For Atom see (3). There does not appear to be a way to disable them in Visual Studio. (1) https://stacksjar.com/post/use-of-font-ligatures-in-vs-code https://stacksjar.com/post/use-of-font-ligatures-in-vs-code (2) https://marketplace.visualstudio.com/items?itemName=CoenraadS.disableligatures https://marketplace.visualstudio.com/items?itemName=Coenraad... (3) https://github.com/tonsky/FiraCode/issues/633 https://github.com/tonsky/FiraCode/issues/633
- spoiler 5y agoOoh the selectively disabled extension is really cool! Thanks! I sometimes—rarely happens thought—dislike how the cursor renders on top of ligatures in vscode. Always wished it would allow me to "inject" the cursor into the ligature, but since it didn't happen often or bother me as much, I never tried looking for a solution. This will be a small, but much appreciated quality of life improvement! Thanks again!
- calessian 5y agoSome fonts also just have different variants with and without ligatures, for example Cascadia Code/Mono: https://github.com/microsoft/cascadia-code https://github.com/microsoft/cascadia-code
- galkk 5y agoLiterally every IDE that I used has checkbox to disable ligatures. Idea, VS, VSCode. Kitty terminal also has setting to turn them on/off.
- ReleaseCandidat 5y ago> Is that the only way, or is there a way to disable ligatures but keep the rest of the font? It's actually not that easy to use them with for example Emacs where you have to list every combination that you want to 'translate' to a ligature: https://github.com/mickeynp/ligature.el https://github.com/mickeynp/ligature.el
- melissalobos 5y agoI like some like ff, but </ is too far.