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

get rid of overzealous anchor_name_no_underscore #17

Merged
merged 2 commits into from
Oct 20, 2022
Merged

get rid of overzealous anchor_name_no_underscore #17

merged 2 commits into from
Oct 20, 2022

Conversation

arialcrime
Copy link
Contributor

otherwise class names and their references in the final code don’t match

otherwise class names and their references in the final code don’t match
@frankrolf
Copy link
Member

Thank you for this report. As I read in my own code: ❝The anchor_name_no_underscore process is odd❞.

The original intent for this fix was allowing glyph names with colons. At the same time, I made the assumption that anchors would not contain more underscores than a single leading one, which was the cause for the issue on your end.

I suggest the following, simplified fix (which allows for both scenarios):

@frankrolf frankrolf changed the title use anchor_name_no_underscore in make_one_mark_class too get rid of overzealous anchor_name_no_underscore Oct 20, 2022
@frankrolf frankrolf merged commit e7efb42 into adobe-type-tools:master Oct 20, 2022
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

Successfully merging this pull request may close these issues.

2 participants