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

Should an anchor be invalid if it has no name? #6

Closed miguelsousa closed 9 years ago

miguelsousa commented 9 years ago

https://github.com/unified-font-object/ufo-example-implementations/blob/master/normalization/ufonormalizer#L989-L995

anthrotype commented 9 years ago

the UFO3 spec says "this attribute is optional": http://www.unifiedfontobject.org/versions/ufo3/glif.html#anchor

miguelsousa commented 9 years ago

Right. I was thinking about implied anchors. Should have pointed to this instead: https://github.com/unified-font-object/ufo-example-implementations/blob/master/normalization/ufonormalizer#L1324-L1333

typesupply commented 9 years ago

I don't think it should be invalid, and therefore removed, if it has no name. A designer could be using an unnamed anchor/point as a guide or alignment point or something like that.

miguelsousa commented 9 years ago

OK. I've added a couple new tests for implied anchors 5368b6cfe1d0c5b1b516a66d625018e9aabd0d9b