Skip to content

Bug with deleting multiple handles #1910

Closed

Description

@justvanrossum

Deleting more than one handle from the below shape causes an error and messes up some unrelated points:

{"layerGlyphs":[{"layerName":"foreground","location":{},"glyph":{"xAdvance":636,"path":{"coordinates":[16,627,16,588,76,598,137,598,197,588,197,627,137,637,76,637,5,546,5,507,65,517,126,517,186,507,186,546,126,556,65,556],"pointTypes":[0,0,2,2,0,0,2,2,0,0,2,2,0,0,2,2],"contourInfo":[{"endPoint":7,"isClosed":true},{"endPoint":15,"isClosed":true}],"pointAttributes":null},"components":[],"anchors":[],"guidelines":[]}}]}
Enregistrement.de.l.ecran.2025-01-02.a.17.30.47.mov

Activity

  1. self-assigned this
    on Jan 3, 2025
  2. justvanrossum commented on Jan 3, 2025

    @justvanrossum
    MemberAuthor

    It is the second contour that gets broken, so I suspect the delete operation is done in the wrong order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions