Caching improvement: now caching works across families

This commit is contained in:
be5invis 2022-05-28 11:34:34 -07:00
parent de458c9fce
commit 04a6a29238
7 changed files with 122 additions and 34 deletions

View file

@ -17,9 +17,10 @@ const { createGrDisplaySheet } = require("./support/gr");
module.exports = async function main(argv) {
const paraT = await getParameters();
const { font, glyphStore } = await buildFont(argv, paraT(argv));
const { font, glyphStore, cacheUpdated } = await buildFont(argv, paraT(argv));
if (argv.oCharMap) await saveCharMap(argv, glyphStore);
if (argv.o) await saveTTF(argv, font);
return { cacheUpdated };
};
// Parameter preparation