Fix broken TTCs in beta.1 (#2108).
This commit is contained in:
parent
c82887bebb
commit
a35c24dcb6
2 changed files with 8 additions and 1 deletions
1
changes/28.0.0-beta.2.md
Normal file
1
changes/28.0.0-beta.2.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
* Fix broken TTCs in beta.1 (#2108).
|
|
@ -404,7 +404,7 @@ const DistUnhintedTTF = file.make(
|
||||||
// The font is a spacing variant, and is derivable form an existing
|
// The font is a spacing variant, and is derivable form an existing
|
||||||
// normally-spaced variant.
|
// normally-spaced variant.
|
||||||
|
|
||||||
const noGcTtfPath = file.getPathOf(BuildNoGcTtfImpl(gr, fn));
|
const noGcTtfPath = file.getPathOf(BuildNoGcUnhintedTtfImpl(gr, fn));
|
||||||
|
|
||||||
const spD = fi.spacingDerive;
|
const spD = fi.spacingDerive;
|
||||||
const [deriveFrom] = await target.need(
|
const [deriveFrom] = await target.need(
|
||||||
|
@ -473,6 +473,12 @@ const BuildTtfaControls = file.make(
|
||||||
await target.need(DistUnhintedTTF(gr, f));
|
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(
|
const BuildNoGcTtfImpl = file.make(
|
||||||
(gr, f) => `${BUILD}/TTF/${gr}/${f}.no-gc.hinted.ttf`,
|
(gr, f) => `${BUILD}/TTF/${gr}/${f}.no-gc.hinted.ttf`,
|
||||||
async (target, output, gr, f) => {
|
async (target, output, gr, f) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue