Skip to content

get rid of overzealous anchor_name_no_underscore#17

Merged
frankrolf merged 2 commits intoadobe-type-tools:masterfrom
arialcrime:master
Oct 20, 2022
Merged

get rid of overzealous anchor_name_no_underscore#17
frankrolf merged 2 commits intoadobe-type-tools:masterfrom
arialcrime:master

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