You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately FontForge crashes a lot for unknown reasons. But this time I found a reproducible bug. FontForge's ability to fix a problem actually creates a problem.
Steps to reproduce:
Draw a shape in counter-clockwise direction.
Click "File" > "Generate Fonts...".
Let the software "Validate Before Saving".
Click "Review" the detected errors.
Click on the validation error to see the affected glyph.
Don't click "Fix" button.
Fix the direction using "Element" > "Correct Direction".
Now click "Fix" button.
Expected result:
The direction should stay clockwise.
Actual result:
The direction is reversed back to counter-clockwise.
You have to click the "Fix" button once again to actually fix the problem.
Reproducible: Always
Version: Custom build git-cloned master branch
Environment: Linux Debian Stretch
While this is a minor bug, fixing it may lead to a better and cleaner codebase.
The text was updated successfully, but these errors were encountered:
ghost
changed the title
Fixing "Wrong Direction" reverses direction
Fixing "Wrong Direction" reverses direction back to counter-clockwise in some cases
Oct 4, 2019
The problem-fixing codepath has a lot of actual problems (like caching pointers and trying to use them after they are invalidated). This one does not strike me as among the highest priorities there. If the user wants to fix the direction, he can click the fix button or correct the direction himself rather than doing both. The only "solution" that comes to mind would be to revalidate each glyph before applying a commanded fix, and that might bring with it its own set of problems.
Hi,
Unfortunately FontForge crashes a lot for unknown reasons. But this time I found a reproducible bug. FontForge's ability to fix a problem actually creates a problem.
Steps to reproduce:
Expected result:
Actual result:
Reproducible: Always
Version: Custom build git-cloned master branch
Environment: Linux Debian Stretch
While this is a minor bug, fixing it may lead to a better and cleaner codebase.
The text was updated successfully, but these errors were encountered: