Skip to content

Remove overlaps fails when a point of one spline is on another spline #488

Closed
mskala opened this Issue Mar 30, 2013 · 1 comment

2 participants

@mskala
fontforge member
mskala commented Mar 30, 2013
  1. load the file from https://github.com/fontforge/debugfonts/blob/master/point-on-curve.sfd
  2. select the one glyph it contains
  3. do "Remove Overlaps". Multiple problems are visible in the result.

point-on-curve

Problems include: A an extra, unclosed single-point spline is created; B and C splines inside other splines aren't removed; D part of the interior (bounded by curves that should have been removed anyway) is incorrectly treated as exterior.

This bug is somewhat fragile. Removing the component on the left (木 - "tree") causes overlap removal in the component on the right (重 - "heavy") to work correctly, even though they don't touch each other.

@frank-trampe

Closed by #1485.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.