Live data from Hacker News

Sublime Text 3 now has font ligature support

forum.sublimetext.com

41–50 of 115 posts

Re: Sublime Text 3 now has font ligature support

#41
post #24

Earlier quoted context omitted.

Iosevka is a nice one

Iosevka is way too thin for me. I'm going to try out Hasklig (moving from Ubuntu Mono)

I've spent the last six months trying out new fonts (m0n0, hack, monoid, hasklig, fira code, mononoki, fixedsys excelsior, iosevka, source code pro, input...)

Nothing cuts it, there's always that tiny thing that bothers me, and I'm back with Ubuntu Mono.

Re: Sublime Text 3 now has font ligature support

#43

Honest question: Why would you want ligatures in plaintext? Especially in code, wouldn't that be weird as some people tend to manually align their code? Like, modular_raft = 10 spam = 20 The "ft" in modular_raft should convert to a ligature so (I assume) it will then take one character, instead of two. Then developers viewing that source would have different alignments, depending on whether they use Sublime 3 or not.…

Besides fancy programming fonts (which I have mixed feelings about), ligatures and other complex text shaping features can also be necessary for legibly rendering string literals in some non-Latin scripts, like Arabic script. Even if your code is all in Latin letters, you might have test data, UI text, etc., that's in something else.

Perhaps the editor should include a method to turn this kind of options on/off with special sequences e.g. in comments.

Re: Sublime Text 3 now has font ligature support

#44
post #35
post #20

I love the idea of ligatures, but I don't find Fira Code very comfortable. Any other recommendations? EDIT: Some fonts I like are Courier New and Droid Sans Mono.

Try Hack; I’ve been using it for a while and I really dig it! http://sourcefoundry.org/hack/

Does it support ligatures?

Re: Sublime Text 3 now has font ligature support

#45
post #40

Earlier quoted context omitted.

Besides fancy programming fonts (which I have mixed feelings about), ligatures and other complex text shaping features can also be necessary for legibly rendering string literals in some non-Latin scripts, like Arabic script. Even if your code is all in Latin letters, you might have test data, UI text, etc., that's in something else.

Are you saying this version of SL supports rendering Arabic with proper shaping?

Since it now uses DirectWrite, it should support Arabic well, at least on Windows. DirectWrite handles shaping for a bunch of scripts.

Re: Sublime Text 3 now has font ligature support

#47
post #6

Tangent: Any good resources to read up on typography? I feel like of all design related issues thats the one I have zero knowledge or insight on.

Josef Muller-Brockmann's books are a decent primer on the basics of graphic design (including typography). They are old but the information in them is not necessarily out of date, and the writing style is very helpful since he includes examples and explanations of how to apply the concepts practically.

If you are going to read them I would recommend "Grid Systems in Graphic Design" and "The Graphic Artist and His Design Problems". "History of the Poster" is worth getting too. Make sure to get them as books, not PDFs. His lessons about margins and font size make a lot more sense when you are viewing them in the book laid out according to his own principles.

/edit The Vignelli Canon is a nice read too. See: http://www.vignelli.com/canon.pdf

Re: Sublime Text 3 now has font ligature support

#48

Yes!!!!!!!!!!!!!! I nearly quit sublime after using an editor that supported this feature for a month. While sublime is vastly superior in my mind to most other editors (spacemacs and Vim in my book not withstanding) I make a lot of use of icons in the Nerd Fonts for custom icons so this is a huge plus for me. In my haste: forgot to link to the nerd fonts page! https://github.com/ryanoasis/nerd-fonts For what it’s wo…

Which other editor did you use for a month?

Re: Sublime Text 3 now has font ligature support

#49
post #15
post #6

Tangent: Any good resources to read up on typography? I feel like of all design related issues thats the one I have zero knowledge or insight on.

I enjoyed this one: https://practicaltypography.com/

I highly recommend this one. It is divided in short sections devoted to one specific topic, directly to the point, including practical examples and indicating how to do it in popular software like Word, CSS, etc.

Re: Sublime Text 3 now has font ligature support

#50
post #43

Earlier quoted context omitted.

Besides fancy programming fonts (which I have mixed feelings about), ligatures and other complex text shaping features can also be necessary for legibly rendering string literals in some non-Latin scripts, like Arabic script. Even if your code is all in Latin letters, you might have test data, UI text, etc., that's in something else.

Perhaps the editor should include a method to turn this kind of options on/off with special sequences e.g. in comments.

That, or just don't apply ligatures to basic Latin characters. I suppose that people who like using international characters for their identifiers would not mind having ligatures applied to them. Solved by font selection.
Post reply on HN