Skip to content

Commit 4585f41

Browse files
authored
Merge pull request #467 from letsky192/dev
提前烘焙 `tnum`
2 parents 574f755 + 1ba58a8 commit 4585f41

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

make/pass1/index.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ async function pass(argv) {
2525

2626
if (main.head.unitsPerEm !== 1000) CliProc.rebaseFont(main, 1000);
2727

28+
// Bake tnum for UI
29+
if (argv.tnum) bakeFeature("tnum", main, c => c !== 0x2d);
30+
2831
if (argv.latinCfg?.bakeFeatures) {
2932
for (const feature of argv.latinCfg.bakeFeatures) {
3033
const filter = feature.range
@@ -43,9 +46,6 @@ async function pass(argv) {
4346
// Drop enclosed alphanumerics and PUA
4447
if (!argv.mono) dropCharacters(main, c => isEnclosedAlphanumerics(c) || isPua(c));
4548

46-
// Bake tnum for UI
47-
if (argv.tnum) bakeFeature("tnum", main, c => c !== 0x2d);
48-
4949
if (argv.italize) {
5050
italize(as, +9.4);
5151
italize(ws, +9.4);

0 commit comments

Comments
 (0)