HOTFIX: Some composite letters' CV/SS doesn't work

This commit is contained in:
be5invis 2020-08-16 21:47:31 -07:00
parent 8346258ca5
commit cbd5952ca3
3 changed files with 18 additions and 4 deletions

View file

@ -10,7 +10,9 @@ const gcFont = require("./gc");
module.exports = function finalizeFont(para, glyphStore, excludedCodePoints, font) {
glyphStore = forceMonospaceIfNeeded(para, glyphStore);
glyphStore = gcFont(glyphStore, excludedCodePoints, font, {});
extractGlyfCmap(regulateGlyphStore(para, glyphStore), font);
glyphStore = regulateGlyphStore(para, glyphStore);
extractGlyfCmap(glyphStore, font);
return glyphStore;
};
function forceMonospaceIfNeeded(para, glyphStore) {