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

Changing the name of a glyph should update all references #118

Open
madig opened this issue May 7, 2017 · 1 comment
Open

Changing the name of a glyph should update all references #118

madig opened this issue May 7, 2017 · 1 comment

Comments

@madig
Copy link
Contributor

madig commented May 7, 2017

I wrote a script to rename glyphs according to https:/schriftgestalt/GlyphsInfo. The renaming happens like this: glyph.name = suggestedName. Unfortunately, this breaks all components which reference the glyph and I'm left with lots of empty cells. I could go through all components and update them in an extra loop, but I think defcon should do this by itself.

@moyogo
Copy link
Collaborator

moyogo commented May 7, 2017

I don’t think defcon should do this. Defcon is there to provide base functionality, not guess what you want to do. One may use glyph1.name, glyph2.name = glyph2.name, glyph1.name to swap glyphnames with or without updating the composite glyphs using either.

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