unified-font-object / ufoLib

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

formatVersions = (1,2) #179

Closed VivaRado closed 5 years ago

VivaRado commented 5 years ago

https://github.com/unified-font-object/ufoLib/blob/49c7bd1e1d08500c6ddb783df3ae61184982d89d/Lib/ufoLib/glifLib.py#L354

VivaRado commented 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

anthrotype commented 5 years ago

The GLIF format 2 is only compatible with UFO format 3, for UFO format < 3, then only GLIF format 1 is supported.