From 2b5ce64a3aad0398344e965f36a864823dfc6c1a Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Sun, 21 Aug 2011 16:05:35 +0000 Subject: [PATCH] --- fluidbook/tools/convert.pe | 2 +- .../private/configs/Extract_Layout.properties | 2 +- .../apache/pdfbox/util/PDFStreamEngine.java | 23 ++++++++++++++++--- inc/ws/Metier/class.ws.document.php | 7 ++++++ 4 files changed, 29 insertions(+), 5 deletions(-) diff --git a/fluidbook/tools/convert.pe b/fluidbook/tools/convert.pe index 43c65f706..5980204b0 100644 --- a/fluidbook/tools/convert.pe +++ b/fluidbook/tools/convert.pe @@ -10,7 +10,7 @@ endloop // if($argv[i]!="-") - cmap=LoadStringFromFile() + cmap=LoadStringFromFile($argv[i]) glyphs=StrSplit(cmap,"\\n"); j=0 while(jsetArg('--input ' . $this->cropped); $fwstk->setArg('--extractTexts ' . $this->out . '%s%d.txt'); $fwstk->setArg('--extractLinks ' . $this->out . 'p%d.csv'); + $fwstk->execute(); + $this->addToLog($fwstk); + + $fwstk = new cubeCommandLine('fwstk'); + $fwstk->setPath(CONVERTER_PATH); + $fwstk->setArg('--input ' . $this->in); $fwstk->setArg('--layout ' . $this->html . 'p%d.layout'); $fwstk->setArg('--cmaps ' . $this->html); + $fwstk->setArg('--fonts' . $this->out . 'fonts/web/'); $fwstk->execute(); $this->addToLog($fwstk); -- 2.39.5