From: Vincent Vanwaelscappel Date: Mon, 4 Oct 2021 17:03:56 +0000 (+0200) Subject: wip #4747 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=e5ce3b29f54c211d45ce244c435fc77364092139;p=fluidbook_tools.git wip #4747 @0.5 --- diff --git a/.idea/fluidbook_tools.iml b/.idea/fluidbook_tools.iml index f942f8f..b2be28e 100644 --- a/.idea/fluidbook_tools.iml +++ b/.idea/fluidbook_tools.iml @@ -5,6 +5,8 @@ + + diff --git a/resources/tools/fwstk/out/artifacts/fwstk_jar/fwstk.jar b/resources/tools/fwstk/out/artifacts/fwstk_jar/fwstk.jar index e22c065..256d77f 100644 Binary files a/resources/tools/fwstk/out/artifacts/fwstk_jar/fwstk.jar and b/resources/tools/fwstk/out/artifacts/fwstk_jar/fwstk.jar differ diff --git a/src/Compiler/Compiler.php b/src/Compiler/Compiler.php index fd38318..ce89fe7 100644 --- a/src/Compiler/Compiler.php +++ b/src/Compiler/Compiler.php @@ -210,6 +210,7 @@ class Compiler implements ShouldQueue, ShouldBeUnique { $settings = mb_substr(file_get_contents($this->stub . '/data/datas.js'), 13, -2); $this->config = json_decode($settings, false, 512, JSON_THROW_ON_ERROR); + $this->config->maxResolution = 150; $this->compileDimensions(); $this->compilePageNumbers(); diff --git a/src/PDF/PDFTools.php b/src/PDF/PDFTools.php index f801339..e67b32a 100644 --- a/src/PDF/PDFTools.php +++ b/src/PDF/PDFTools.php @@ -314,6 +314,8 @@ class PDFTools $fwstk->setArg('--cmaps ' . $out); $fwstk->setArg('--fonts' . $out . 'fonts/web/'); $fwstk->execute(); +// $fwstk->dd(); + } }