compileTTF (for static TTF builds) already have a convertCubics=True that when set to False completely skips the cu2qu.
So I added one for the compileInterpolatableTTF/compileVariableTTF methods as well, so that from fontmake one can request to pass through the cubics unchanged.
Also I made so the OutlineTTFCompiler checks that if glyphDataFormat=0, then no cubic flags are set and raise an error in they do, prompting to either convert to quadratic or to explicitly allow allQuadratic=False (which in turn sets glyphDataFormat=1). This is to prevent from accidentally building glyf v1 table.
compileTTF (for static TTF builds) already have a
convertCubics=True
that when set to False completely skips the cu2qu. So I added one for the compileInterpolatableTTF/compileVariableTTF methods as well, so that from fontmake one can request to pass through the cubics unchanged.Also I made so the OutlineTTFCompiler checks that if glyphDataFormat=0, then no cubic flags are set and raise an error in they do, prompting to either convert to quadratic or to explicitly allow allQuadratic=False (which in turn sets glyphDataFormat=1). This is to prevent from accidentally building glyf v1 table.