tonsky / tonsky/FiraCode

Subscripts like x₍ₙ₊₁₎ don't work well together

Open
#1,229 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When writing some Julia code (that allows Unicode out of the box), I noticed that the subscripts don't work well, particularly that x₍ₙ₊₁₎.

image

Maybe putting the n as low as the other stuff would fix that.
Thanks!

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

Reproduce the rendering of x₍ₙ₊₁₎ in FiraCode using the Unicode example and compare it with the attached image. No source file or test is named, so first locate the glyph or font-generation entry point responsible for subscript positioning. Done means the combined subscripts render consistently, with the n aligned with the surrounding characters.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
design
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.