Skip to content

Add outline to stream overlay text#1887

Open
mira-x wants to merge 2 commits into
moonlight-stream:masterfrom
mira-x:overlay
Open

Add outline to stream overlay text#1887
mira-x wants to merge 2 commits into
moonlight-stream:masterfrom
mira-x:overlay

Conversation

@mira-x

@mira-x mira-x commented May 11, 2026

Copy link
Copy Markdown

Hi, this fixes issue #1877.

Although that issue suggest using text shadows, I figured that drawing an outline is simpler and equally effective. I settled for an outline of 4px width. Thinner outlines were okay on 1080p screens, but only marginally improved legibility on my 43" 4K display.

I also noticed that there is a similar PR #1606 which solves this issue by putting a transparent black box behind all the text. However, that box is larger than the text itself, which unneccessarily hinders visibility where there is no text.

Below are some screenshots. The thumbnails are not that legible, so you should look at them in fullscreen to get a sense of how a user will perceive the outline.

1080p (The statistics show it's a 4K stream, but it's played back on a 1080p screen):
4px-border-1080p

4K:
4px-border-4k

I look forward to hearing from you soon :)

@cgutman cgutman added this to the v6.2 milestone May 16, 2026
This SIGSEGV occurred when closing the stats overlay and then re-opening
it after a while. When no overlay text was present yet, it crashed the
whole app.
mwd102 pushed a commit to mwd102/moonlight-qt that referenced this pull request Jun 20, 2026
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.

2 participants