Fix broken TTCs in beta.1 (#2108).

This commit is contained in:
be5invis 2023-12-02 11:33:59 -08:00
parent c82887bebb
commit a35c24dcb6
2 changed files with 8 additions and 1 deletions

View file

@ -404,7 +404,7 @@ const DistUnhintedTTF = file.make(
// The font is a spacing variant, and is derivable form an existing
// normally-spaced variant.
const noGcTtfPath = file.getPathOf(BuildNoGcTtfImpl(gr, fn));
const noGcTtfPath = file.getPathOf(BuildNoGcUnhintedTtfImpl(gr, fn));
const spD = fi.spacingDerive;
const [deriveFrom] = await target.need(
@ -473,6 +473,12 @@ const BuildTtfaControls = file.make(
await target.need(DistUnhintedTTF(gr, f));
}
);
const BuildNoGcUnhintedTtfImpl = file.make(
(gr, f) => `${BUILD}/TTF/${gr}/${f}.no-gc.ttf`,
async (target, output, gr, f) => {
await target.need(DistUnhintedTTF(gr, f));
}
);
const BuildNoGcTtfImpl = file.make(
(gr, f) => `${BUILD}/TTF/${gr}/${f}.no-gc.hinted.ttf`,
async (target, output, gr, f) => {