tonsky / tonsky/FiraCode

Separate "ligatures" and "contextual alternates"?

Open
#1,404 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stylistic sets
Dominant language
Clojure
Stars
82k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

I'm not a fan of ligatures like combined <= and ===, so I put 'calt' 0 in my font ligature settings.

However, I like "context-aware punctuation" as advertised in README, which is also gone with 'calt' 0.

Would you consider separating liga from calt so that with 'liga' 0 there's still "contextual punctuations" available?

As far as I can tell the current font does not use the liga flag.

Alternatively, there's a clig flag for "contextual ligature". My list of "font features" comes from https://docs.microsoft.com/en-us/typography/opentype/spec/featurelist.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the README's description of context-aware punctuation and inspect the current font feature settings for calt, liga, and clig. Compare the current behavior when each feature is disabled, then determine whether the requested separation is technically supported; done means ligatures can be disabled without removing contextual punctuation.

Written by the indexing model from the issue text.

Assessment

Domain
design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.