googlefonts / googlefonts/glyphsLib

glyphs2ufo: prune recursive references

Open
#677 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
201
Forks
56
Avg merge
17m
Merged PRs (30d)
1

Description

I occasionally get broken Glyphs.app files that have components pointing to themselves (maybe even in bracket layers) or otherwise resulting in a loop. glyphsLib should aggressively prune them with a warning.

Contributor guide

Open the contributing guide

Research direction

Start at the glyphs2ufo conversion entry point and trace how component references are traversed, including bracket layers. Reproduce the issue with a Glyphs file containing a self-referential component or loop; done means recursive references are pruned and a warning is emitted.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.