Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix SegmentToPointPen edge case#4015

Merged
justvanrossum merged 4 commits intofonttools:mainfrom
justvanrossum:fix-issue-4014
Dec 17, 2025
Merged

Fix SegmentToPointPen edge case#4015
justvanrossum merged 4 commits intofonttools:mainfrom
justvanrossum:fix-issue-4014

Conversation

@justvanrossum
Copy link
Collaborator

@justvanrossum justvanrossum commented Dec 17, 2025

This fixes #4014

Fix SegmentToPointPen pen edge case: only remove a duplicate final point during closePath() if it is an on-curve point.

@justvanrossum justvanrossum changed the title Fix quad blob -> point pen edge case Fix quadratics -> point pen edge case Dec 17, 2025
@justvanrossum justvanrossum changed the title Fix quadratics -> point pen edge case Fix SegmentToPointPen edge case Dec 17, 2025
Copy link
Member

@anthrotype anthrotype left a comment

Choose a reason for hiding this comment

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

LGTM, thanks
I'm surprised this hasn't come up before...

@justvanrossum justvanrossum merged commit 3fa772a into fonttools:main Dec 17, 2025
12 checks passed
@justvanrossum justvanrossum deleted the fix-issue-4014 branch December 17, 2025 14:58
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.

Quad blob vs SegmentToPointPen woes

2 participants

Comments