Skip to content

[annotations] Preserve pressure stroke round caps#2135

Merged
frankrousseau merged 1 commit into
cgwire:mainfrom
ivancea:fix-psstroke-cap-clipping
Jul 14, 2026
Merged

[annotations] Preserve pressure stroke round caps#2135
frankrousseau merged 1 commit into
cgwire:mainfrom
ivancea:fix-psstroke-cap-clipping

Conversation

@ivancea

@ivancea ivancea commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Problem

The bounding-box around the annotation stroke wasn't accounting for the full stroke width, showing a "cut" stroke.

Before:
imagen

After:
imagen

Solution

Remove a monkey-patch that was affecting this calculation.

I couldn't find if there was an (still existing) reason for it. I see it was when Kitsu was using Fabric 5. But not sure of the exact reason.

@ivancea ivancea marked this pull request as ready for review July 13, 2026 22:38
@frankrousseau frankrousseau merged commit 6df3f5b into cgwire:main Jul 14, 2026
2 of 5 checks passed
@frankrousseau

frankrousseau commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Thank you, it was there because it was needed with Fabric 5. But Fabric 7 adds a point itself.

@ivancea ivancea deleted the fix-psstroke-cap-clipping branch July 14, 2026 08:21
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