Skip to content

Commit

Permalink
Fix broken TTCs in beta.1 (be5invis#2108).
Browse files Browse the repository at this point in the history
  • Loading branch information
be5invis committed Dec 2, 2023
1 parent c82887b commit a35c24d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/28.0.0-beta.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Fix broken TTCs in beta.1 (#2108).
8 changes: 7 additions & 1 deletion verdafile.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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) => {
Expand Down

0 comments on commit a35c24d

Please sign in to comment.