Caching improvement: now caching works across families
This commit is contained in:
parent
de458c9fce
commit
04a6a29238
7 changed files with 122 additions and 34 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue