fontmake: contours of zero width can't be exported into a variable font
Hello, I have a master that has all points at the same x position. It cannot be exported as variable font with fontmake -o variable -m font.designspace. Source is in ufo. I am attaching demo that reproduces this. Can I turn off compatibility check and force the export? See letter A Thanks, Jan bug.zip
--keep-direction and --keep-overlaps didn’t help
CLI:
fontmake -o variable -m bug.designspace --verbose WARNING
Error:
WARNING:fontTools.varLib:glyph A has incompatible masters; skipping
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 15 (3 by maintainers)
Commits related to this issue
- PointToSegmentPen: preserve duplicate last point The PointToSegmentPen translates between PointPen and (Segment)Pen protocol. In the SegmentPen protocol, closed contours always imply a final 'lineTo... — committed to anthrotype/fonttools by anthrotype 5 years ago
- cu2qu/ufo: must use PointToSegmentPen with outputImpliedClosingLine=True When collecting a glyph's segments, we can't simply call the glyphs' draw method with the GetSegmentsPen, but we must initiali... — committed to anthrotype/cu2qu by anthrotype 5 years ago
- PointToSegmentPen: preserve duplicate last point The PointToSegmentPen translates between PointPen and (Segment)Pen protocol. In the SegmentPen protocol, closed contours always imply a final 'lineTo... — committed to simoncozens/fonttools by anthrotype 5 years ago
@anthrotype thanks! It works in full version of the font as well… I am very happy that I can start implementing fontmake into my workflow…