Skip to content

Take components into account in .map() #6

@delucis

Description

@delucis

.map() does not take components into account, causing problems:

  • If a glyph references a component, but that component is mapped and renamed, the reference will break
  • If a glyph references a component and is mapped but the component isn’t, the component will be missing and the reference will break
  • If a subset glyph references a component not also in the subset, the reference will break

A check should be added that tests:

  • Does a mapped glyph reference a component? Then the component should be preserved.
  • Is a mapped glyph itself referenced as a component? If the glyph referencing it will be preserved, its reference should be updated.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions