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

Remove duplicate glyphs in SVG output #194

Merged
merged 1 commit into from
May 15, 2021
Merged

Conversation

tancredi
Copy link
Owner

@tancredi tancredi commented May 15, 2021

Remove duplicate SVG glyphs by not passing the icon ID as a unicode option

Add snapshot tests for SVG, just to ensure whatever is provided to the SVG font library is somehow locked

Issue was introduced by porting https://github.com/sunflowerdeath/webfonts-generator/blob/master/src/generateFonts.js#L50 which was adding a ligature taken by the icon name as a unicode point - not sure why or what made it behave differently in this repo

Should address #154

@tancredi tancredi merged commit fd54837 into master May 15, 2021
@tancredi tancredi deleted the remove-duplicate-svg-glyphs branch May 15, 2021 15:19
@github-actions
Copy link

🎉 This PR is included in version 1.2.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant