Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for circular component references? #76

Open
madig opened this issue Apr 27, 2020 · 1 comment
Open

Check for circular component references? #76

madig opened this issue Apr 27, 2020 · 1 comment

Comments

@madig
Copy link
Collaborator

madig commented Apr 27, 2020

The specification states:

The base glyph referenced by a component may contain components. The base glyph must not create a circular reference to the glyph that contains the component. Components must only reference glyphs within the same layer that the component belongs to.

http://unifiedfontobject.org/versions/ufo3/glyphs/glif/#component

ufoLib currently does not validate this. Should it? Should ufoLib2?

@belluzj
Copy link

belluzj commented Apr 27, 2020

Probably ufoLib if that's where most of the validation logic is already?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants