diff --git a/bddy.js b/bddy.js index 6ffce6d07..c63a0012b 100644 --- a/bddy.js +++ b/bddy.js @@ -123,7 +123,7 @@ module.exports = function(ctx, forany, argv, bddy) { const [$1] = await this.need(`sources/shs/${target.name}.otf`); const tmpOTD = `${target.dir}/${target.name}.otd`; await runBuildTask.call(this, "build-punct/build.js", { main: $1, o: tmpOTD }); - await this.run("otfccbuild", tmpOTD, "-o", target); + await this.run("otfccbuild", tmpOTD, "-o", target, "-q"); await this.rm(tmpOTD); }); @@ -174,7 +174,7 @@ module.exports = function(ctx, forany, argv, bddy) { const [$1] = await this.need(`sources/shs/${target.name}.otf`); const tmpOTD = `${target.dir}/${target.name}.otd`; await runBuildTask.call(this, "build-kanji/build.js", { main: $1, o: tmpOTD }); - await this.run("otfccbuild", tmpOTD, "-o", target); + await this.run("otfccbuild", tmpOTD, "-o", target, "-q"); await this.rm(tmpOTD); }); diff --git a/hint/support/makefile b/hint/support/makefile index 17c731618..79cdfbfc8 100644 --- a/hint/support/makefile +++ b/hint/support/makefile @@ -13,7 +13,7 @@ # Segmentations when hinting # 分段数,hint 部分 -JHINT = 1 +JHINT = 128 CVTFILE = build/_CVT.mk FPGMFILE = build/_FPGM.mk diff --git a/hint/top.js b/hint/top.js index 528363635..27e7c5694 100644 --- a/hint/top.js +++ b/hint/top.js @@ -58,9 +58,9 @@ function idhParam(config) { a.push(`XX_IDH_INSTANCE=ideohint`); } else { if (os.platform() === "win32") { - a.push(`XX_IDH_INSTANCE=${path.join(entryDir, "node_modules/.bin/ideohint.cmd")}`); + a.push(`XX_IDH_INSTANCE=${path.join(entryDir, "../node_modules/.bin/ideohint.cmd")}`); } else { - a.push(`XX_IDH_INSTANCE=${path.join(entryDir, "node_modules/.bin/ideohint")}`); + a.push(`XX_IDH_INSTANCE=${path.join(entryDir, "../node_modules/.bin/ideohint")}`); } } /* @@ -73,9 +73,11 @@ function idhParam(config) { } if (os.platform() === "win32") { - a.push(`XX_TTCIZE_INSTANCE=${path.join(entryDir, "node_modules/.bin/otfcc-ttcize.cmd")}`); + a.push( + `XX_TTCIZE_INSTANCE=${path.join(entryDir, "../node_modules/.bin/otfcc-ttcize.cmd")}` + ); } else { - a.push(`XX_TTCIZE_INSTANCE=${path.join(entryDir, "node_modules/.bin/otfcc-ttcize")}`); + a.push(`XX_TTCIZE_INSTANCE=${path.join(entryDir, "../node_modules/.bin/otfcc-ttcize")}`); } return a; } diff --git a/package.json b/package.json index d325f78fe..0e0917531 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "fs-extra": "^3.0.1", "glob": "^7.1.2", "glob-promise": "^3.1.0", + "ideohint": "^0.99.4", "inquirer": "^3.2.3", "inquirer-file-path": "^1.0.0", "megaminx": "^0.4.3",