unified-font-object / ufoNormalizer

A tool that will normalize the XML and other data inside of a UFO.
Other
51 stars 19 forks source link

Fix issue with guidelines when x, y or angle are set to 0 #36

Closed anthrotype closed 8 years ago

anthrotype commented 8 years ago

the _normalizeDictGuideline function should not check if x or if y, but rather if x is not None, etc. Otherwise, perfectly legal guidelines which happen to have either x, y or angle values at 0 are stripped off by the normalizer.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.01%) to 94.959% when pulling 2a4b820d1ce46cc18116812f8b3338391ed04234 on daltonmaag:fix-guidelines into f7d5355b8a4db8cedd37ee23debf0e44dff169e6 on unified-font-object:master.