Skip to content

fix: removed stroke artefacts inside letters#127

Merged
kyechan99 merged 1 commit into
kyechan99:masterfrom
rastuhacode:fix/remove-stroke-intersections
Jun 8, 2026
Merged

fix: removed stroke artefacts inside letters#127
kyechan99 merged 1 commit into
kyechan99:masterfrom
rastuhacode:fix/remove-stroke-intersections

Conversation

@rastuhacode

Copy link
Copy Markdown
Contributor

Closes #126

When stroke is added and its color differs from text color the visual artifacts appear inside letters.

The fix is as follows:

  1. If stroke being set and it's positive - apply the paint-order rule so fill would cover the stroke and hide inner artifacts if they exist
  2. extract this logic to function

Here's the result with the fix with the same config as in the Venom example:

image

Artifacts outside the letter are still visible, but fixing it is impossible with native svg strokes😞

@vercel

vercel Bot commented Jun 8, 2026

Copy link
Copy Markdown

@rastuhacode is attempting to deploy a commit to the kyechan99's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Jun 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
capsule-render Ready Ready Preview, Comment Jun 8, 2026 11:31am

Request Review

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.87%. Comparing base (88a5c79) to head (07b4b05).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #127      +/-   ##
==========================================
+ Coverage   92.77%   92.87%   +0.09%     
==========================================
  Files          28       28              
  Lines         443      449       +6     
  Branches      103      110       +7     
==========================================
+ Hits          411      417       +6     
  Misses         32       32              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@kyechan99 kyechan99 merged commit 5b70f74 into kyechan99:master Jun 8, 2026
3 of 5 checks passed
@kyechan99

Copy link
Copy Markdown
Owner

lgtm 👍

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.

[BUG] Stroke has visible artifacts inside letters

3 participants