Using knife tool converts all contours to quadratic

Post your bug reports here. Include information that helps us to understand and reproduce the bug.
Post Reply
nabsltd
Posts: 131
Joined: Tue Oct 18, 2016 12:35 am

Using knife tool converts all contours to quadratic

Post by nabsltd » Sat Jul 07, 2018 5:13 am

In FontCreator 11.5.0.2427 (64-bit):

Using the knife tool to cut any contour in a glyph results in all the contours in the glyph being converted to quadratic. Since this can result in a change in the contours, it is not desired behavior.

In addition, it can also result in an exported font not being truly validated. This can happen because the quadratic contours in the glyph need to be converted to cubic for export (assuming they were cubic in the first place because it was a font with PostScript outlines). If the user doesn't notice and manually change the contours to cubic, they can have validated quadratic outlines in the glyph, and the glyph in the exported font can have points that don't pass validation, but the user will never know if they only work with the FontCreator project file (.fcp), and don't open and validate the exported font.

nabsltd
Posts: 131
Joined: Tue Oct 18, 2016 12:35 am

Re: Using knife tool converts all contours to quadratic

Post by nabsltd » Mon Jul 16, 2018 6:28 am

It looks like almost any manipulation of contours that might change the number of contours (knife, union, intersection, exclusion) will cause any contours selected at the time of the operation to convert from cubic to quadratic, even if the contours are not changed by the operation.

For example, draw a rectangle in an empty glyph, then do a "union" operation. Regardless of the type of contour before the union, after the union it will be quadratic, even though there was no need to change anything to take the "union".

janndk
Posts: 4
Joined: Fri Jul 12, 2019 5:45 pm
Location: Copenhagen, Denmark
Contact:

Re: Using knife tool converts all contours to quadratic

Post by janndk » Wed Aug 07, 2019 5:44 pm

Anything new about this?

Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 8338
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: Using knife tool converts all contours to quadratic

Post by Bhikkhu Pesala » Wed Aug 07, 2019 6:10 pm

No change in FontCreator 12.
My FontsReviews: MainTypeFont CreatorHelpFC12 Pro + MT9.0 @ Win10 1903 build 18362.295

janndk
Posts: 4
Joined: Fri Jul 12, 2019 5:45 pm
Location: Copenhagen, Denmark
Contact:

Re: Using knife tool converts all contours to quadratic

Post by janndk » Sat Aug 10, 2019 1:41 pm

Hmm... FontCreator manual says:

"Note: Union, Intersection, Exclusion and Knife only work with contours made out of quadratic Bézier curves. If you use them with cubic curves, FontCreator will convert those contours to quadratic."

So this behavior seems to be intended, and not a bug. However, it's quite annoying when curve type suddenly changes :?

Post Reply