tonsky / tonsky/FiraCode

Text is not properly aligned vertically

Open
#1,505 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I'm seeing this in pretty much any application: text isn't aligned vertically properly.
Take this example of neovim (running on foot):

image

Distance between lines seems correct, but each character is at the top of each cell (rather than vertically centered). Thi sis most obvious with the text in the statusline (e.g.:where is says "NORMAL"), where the space on top of it is far less than the space underneath it.

Here's a screenshot on alacritty:

image

I don't see the issue with other fonts (e.g.: Noto Sans Mono).

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 alignment problem in Neovim under foot and Alacritty using Fira Code, then compare it with Noto Sans Mono as shown in the screenshots. Investigate the font-rendering path involved in vertical cell alignment; done means characters are vertically centered consistently across the reported terminal applications.

Written by the indexing model from the issue text.

Assessment

Tech stack
neovim
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.