-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use for loops to enumerate glyphs needed by font
Instead of having a line (or more than one) for each glyph that a language will need in a font, sort them and collapse adding adjacent characters into a for loop. This removes about 34k LOC. Don't collapse short spans, which will require as many or more lines with a for loop. There are perhaps other patterns that could be detected than immediately adjacent, but detecting those are more difficult.
- Loading branch information
1 parent
2d90bfe
commit 4757728
Showing
2 changed files
with
6,515 additions
and
41,495 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.