unified-font-object / ufoLib

A low-level UFO reader and writer.
Other
37 stars 19 forks source link

Make validation optional. #149

Closed benkiel closed 6 years ago

benkiel commented 6 years ago

A pass at making the validation optional for ufoLib. No speedup testing has been done with this yet. Read is set to have validation off by default, Write is set to have it on by default. One can turn on/off validation on each method as wanted, or just set the global class option and let it be.

There is one thing I couldn't untangle, the _validateAndMassagePointStructures method. It does things that are needed, and it does validation. Where one starts and the other ends, I wasn't 100% on, so I left this alone for now.

benkiel commented 6 years ago

Merged into the validation_optional branch so more can easily work on it. #150