microsoft / microsoft/terminal

Text appears with shadow (antialiasing) when using the Spleen font

Open
#16,646 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-AtlasEngine Area-Fonts Help Wanted Issue-Bug Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

Windows Terminal version

1.20.10293.0

Windows build number

10.0.22631.3007

Other Software

No response

Steps to reproduce

get spleen 12x24, .otf
install it
set WT to use it
text_rendering
there is a right drop shadow.
in the screenshot you see how notepad, visual studio, notepad++, gitk and paint.net render the text using the same font.
I tried changing atlas on/off, sw render on/off, system-wide font smoothing on/off (but never cleartype)
By the way, using vector fonts on raster devices was and always be a mistake. At least until we reach... I dunno... 600dpi? Maybe 300? Right now for desktop monitors we are looking at ~180 for a 24" 4k monitor. But I digress.

Expected Behavior

Text to be rendered without shadow.

Actual Behavior

Text is rendered with shadow.
For what it's worth, the little preview window does show this shadow.
Yes, I know this sounds minor, but... I consider text rendering to be quite important.

Contributor guide

Open the contributing guide

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 issue in Windows Terminal 1.20.10293.0 with the Spleen 12x24 .otf font installed, comparing the rendering with the applications shown in the report. Investigate the text-rendering path and verify completion when the right-hand shadow is absent while the font renders in the terminal.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics, desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.