Skip to content

Paint subtitle stroke behind text fill#723

Merged
killergerbah merged 1 commit intokillergerbah:mainfrom
RicBent:main
May 31, 2025
Merged

Paint subtitle stroke behind text fill#723
killergerbah merged 1 commit intokillergerbah:mainfrom
RicBent:main

Conversation

@RicBent
Copy link
Copy Markdown
Contributor

@RicBent RicBent commented May 26, 2025

Currently subtitle outlines cause the text itself to be overdrawn. This limits the outline thickness one can select before the text becomes unreadable. It is possible to increase the font thickness to remedy this issue a bit, but the result can look odd and requires weird balancing between the two options.

Screenshot 2025-05-26 at 19 51 48

This PR forces the outline to be drawn behind the text itself, making all text outline and text thickness combinations work well without any issues.

Screenshot 2025-05-26 at 19 51 30

The paint-order css property went baseline last year so using it should be fine.

@RicBent
Copy link
Copy Markdown
Contributor Author

RicBent commented May 26, 2025

It should also prevent the issue with overlapping lines mentioned by the comment by the way.

@killergerbah killergerbah added this to the Extension v1.11.0 milestone May 31, 2025
@killergerbah
Copy link
Copy Markdown
Owner

Great improvement! Thanks!

@killergerbah killergerbah merged commit d14520b into killergerbah:main May 31, 2025
1 check passed
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