Optimize the garbage collector to produce smaller files

This commit is contained in:
be5invis 2023-08-25 03:11:15 -07:00
parent a3836f8144
commit 80700d9dc8
8 changed files with 322 additions and 70 deletions

View file

@ -35,7 +35,7 @@ function validateMonospace(para, glyphStore) {
export function finalizeFont(cache, para, glyphStore, excludedCodePoints, restFont) {
assignGrAndCodeRank(glyphStore, Nwid, Wwid);
assignSubRank(glyphStore);
glyphStore = gcFont(glyphStore, excludedCodePoints, restFont, {});
glyphStore = gcFont(glyphStore, excludedCodePoints, restFont);
glyphStore = finalizeGlyphs(cache, para, glyphStore);
validateMonospace(para, glyphStore);
return glyphStore;