Closed madig closed 4 years ago
i think that's invalid. There's no way one can draw that off-curve only contour while keeping it open.
Hm. GlifLib certainly raises an error. I suppose an off-curve without a (q)curve after it never makes sense unless everything is an off-curve. In a closed contour, we need to cycle around to continue to look for a (q)curve, but in an open contour, there is by definition no cycling, so trailing off-curves must be errors.
Exactly yes
The spec says that an off-curve must be followed by a curve or qcurve. A contour can be all off-curves, which is valid in TrueType. It also says that a closed contour is considered to be cyclic, implying that checking what comes after the off-curve must be cyclic, too. What about open contours? Is the following .glif file valid?