A little optimization

This commit is contained in:
be5invis 2023-10-13 21:13:42 -07:00
parent c7440bb5a2
commit bbe32ad1b6
2 changed files with 3 additions and 1 deletions

View file

@ -244,6 +244,7 @@ const FontInfoOf = computed.group("metadata:font-info-of", async (target, fileNa
name: fileName,
variants: bp.variants || null,
derivingVariants: bp.derivingVariants,
buildCharMap: bp.buildCharMap,
featureControl: {
noCvSs: bp["no-cv-ss"] || false,
noLigation: bp["no-ligation"] || false,
@ -418,7 +419,7 @@ const DistUnhintedTTF = file.make(
echo.action(echo.hl.command(`Create TTF`), out.full);
const { cacheUpdated } = await silently.node("font-src/index.mjs", {
o: out.full,
oCharMap: charMapPath,
...(fi.buildCharMap ? { oCharMap: charMapPath } : {}),
oTtfaControls: ttfaControlsPath,
cacheFreshAgeKey: ageKey,
iCache: cachePath,