diff --git a/index.js b/index.js index bb025a7..87ef652 100644 --- a/index.js +++ b/index.js @@ -13,7 +13,9 @@ const loadAndInitializeHarfbuzz = _.once(async () => { const { instance: { exports }, } = await WebAssembly.instantiate( - await readFile(require.resolve('harfbuzzjs/subset/hb-subset.wasm')) + await readFile( + require.resolve('harfbuzzjs-papandreou/subset/hb-subset.wasm') + ) ); exports.memory.grow(400); // each page is 64kb in size diff --git a/package.json b/package.json index 6c8daab..b472bad 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "index.js", "dependencies": { "fontverter": "^1.0.0", - "harfbuzzjs": "^0.1.3", + "harfbuzzjs-papandreou": "^0.1.3-patch1", "p-limit": "^3.1.0" }, "devDependencies": {