Closed VivaRado closed 5 years ago
or all of:
if self.ufoFormatVersion < 3: formatVersions = (1, 2) else: formatVersions = (1, 2)
should just be:
formatVersions = (1, 2)
or it gives:
ufoLib.glifLib.GlifLibError: Forbidden GLIF format version: 2
no clue why:
(1,) single tuple doesn't work
The GLIF format 2 is only compatible with UFO format 3, for UFO format < 3, then only GLIF format 1 is supported.
https://github.com/unified-font-object/ufoLib/blob/49c7bd1e1d08500c6ddb783df3ae61184982d89d/Lib/ufoLib/glifLib.py#L354