Replace duplicated glyphs with References and Fix carons #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I was looking today into adding accents to ampersand's Comic Sans, but I thankfully found out about this fork before committing any work to it.
But while examining this font and comparing it to the original Comic Sans, I noticed that many of the accented glyphs could benefit from references (as Comic Sans does) instead of copying the vector data (as it currently does). To fix this, I just had to run "Edit -> Replace with Reference" in FontForge on all glyphs, and it fixed it automatically. I didn't extensively revised everything, but I didn't find any error caused by it or obviously missed opportunities.
I have zero experience in font editing, so I am not sure if there are any drawbacks to it, but it already decreased the size of the TTF font by 56% (the OTF stayed the same size), and it should help with maintainability.
I also included a script for generating the fonts from source that I made while figuring out how to build the font. But I can remove it if you think it is not necessary.
I didn't update the font files because I don't know if you prefer to update them only at version releases to avoid increasing the repository size.