Skip to content

Conversation

@DJMcNab
Copy link
Member

@DJMcNab DJMcNab commented Jan 8, 2025

Fixes #662

I was unable to isolate why this bug originally occurs (making the stroke expansion conditional on the width being non-zero appeared to work, but artificially increasing the offset didn't change anything), as I failed to find the condition mentioned in #662 (comment).

However, I was able to make the fix suggested by Chad in #662 (comment).

This fix wouldn't apply to manually created (or GPU encoded scenes), but that's pretty much fine, as we don't really support those.

@DJMcNab DJMcNab added this to the Vello 0.4 Release milestone Jan 8, 2025
Copy link
Contributor

@raphlinus raphlinus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feel free to add a test for glyph encoding.

@DJMcNab DJMcNab force-pushed the stroke-fillspansion branch from 319d0d9 to 7fc94b8 Compare July 10, 2025 16:52
@DJMcNab DJMcNab enabled auto-merge July 10, 2025 16:59
@DJMcNab DJMcNab added this pull request to the merge queue Jul 10, 2025
Merged via the queue into linebender:main with commit 93beb7c Jul 10, 2025
17 checks passed
@DJMcNab DJMcNab deleted the stroke-fillspansion branch July 10, 2025 17:11
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.

Zero-width stroke acts as fill

3 participants