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

Respect source #397

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Respect source #397

wants to merge 1 commit into from

Conversation

sivizius
Copy link

@sivizius sivizius commented Mar 8, 2023

At the moment, glyphs.<name>.source set in the manifest is ignored and glyphs is generated by iterating over the files in the directory set in options.input.vectors using the codepoint set in glyphs.<name>.codepoint. However, one might have multiple codepoints with the same glyph, e.g. a placeholder or aliases, so glyphs.<name>.source should be respected.

With this patch, if no source was set, the source is derived from options.input.vectors and the name. Only if glyphs is empty, the previous approach of deriving the glyphs by iterating over the vector-files is used.

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.

1 participant