Skip to content

feat: text rendering setting, greyscale or subpixel - #38

Merged
ba2slk merged 4 commits into
mainfrom
feat/text-rendering
Aug 18, 2026
Merged

feat: text rendering setting, greyscale or subpixel#38
ba2slk merged 4 commits into
mainfrom
feat/text-rendering

Conversation

@ba2slk

@ba2slk ba2slk commented Aug 18, 2026

Copy link
Copy Markdown
Owner

On Linux, terminal glyphs were drawn with the browser's subpixel antialiasing, which leaves colour fringes on every edge. A new setting, textRendering: grayscale | subpixel (default grayscale), opens terminals with a greyscale glyph atlas and asks Chromium for full hinting at whole-pixel positions; subpixel is the previous look, untouched. It applies at the next start, like locale, and the settings row is shown on Linux only: mac and Windows draw greyscale text already and are left as they were. Panes past the WebGL cap, which draw through the DOM renderer, come out identical to the WebGL panes at device pixels, and a frame-timing benchmark showed no difference between the two modes at 6, 12 and 18 streaming panes. Details are in docs/engineering-notes.md.

Generated with Claude Code

@ba2slk
ba2slk merged commit c216097 into main Aug 18, 2026
3 of 4 checks passed
@ba2slk
ba2slk deleted the feat/text-rendering branch August 18, 2026 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant