Draw shadows around glyphs #986

Closed
opened 2026-01-30 22:13:07 +00:00 by claunia · 5 comments
Owner

Originally created by @fghzxm on GitHub (May 11, 2019).

When the background opacity is low, text can become less readable when the Terminal window is atop another window that has a background color similar to the Terminal's foreground color...

... which makes acrylic less useful. Neither is acrylic useful, however, if the background opacity is high enough so that things below the Terminal window cannot influence its visuals.

I suggest an option to draw background-colored shadows around the glyphs displayed on the Terminal. This will make areas that contain text more resistive to color changes underneath, while empty areas remain the acrylic visuals.

Originally created by @fghzxm on GitHub (May 11, 2019). When the background opacity is low, text can become less readable when the Terminal window is atop another window that has a background color similar to the Terminal's foreground color... ![](https://i.imgur.com/AdbPk3Y.png) ... which makes acrylic less useful. Neither is acrylic useful, however, if the background opacity is high enough so that things below the Terminal window cannot influence its visuals. I suggest an option to draw background-colored shadows around the glyphs displayed on the Terminal. This will make areas that contain text more resistive to color changes underneath, while empty areas remain the acrylic visuals.
Author
Owner

@MarioLiebisch commented on GitHub (May 12, 2019):

Sounds reasonable. I'd even think about making it configurable to use drop shadows and/or outlines.

@MarioLiebisch commented on GitHub (May 12, 2019): Sounds reasonable. I'd even think about making it configurable to use drop shadows and/or outlines.
Author
Owner

@mdtauk commented on GitHub (May 12, 2019):

Gradually fade in the outline as the opacity for the background decreases

@mdtauk commented on GitHub (May 12, 2019): Gradually fade in the outline as the opacity for the background decreases
Author
Owner

@Chirishman commented on GitHub (Aug 22, 2019):

Having it be manually settable also helps with certain background images.

@Chirishman commented on GitHub (Aug 22, 2019): Having it be manually settable also helps with certain background images.
Author
Owner

@j4james commented on GitHub (Mar 30, 2021):

Is this not fixed by PR #9646?

@j4james commented on GitHub (Mar 30, 2021): Is this not fixed by PR #9646?
Author
Owner

@zadjii-msft commented on GitHub (Mar 30, 2021):

IT SURE IS! Thanks!

It's not built-in by default, but this is absolutely something someone can add, with the shader from #9646.

@zadjii-msft commented on GitHub (Mar 30, 2021): IT SURE IS! Thanks! It's not built-in by default, but this is absolutely something someone can add, with the shader from #9646.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#986