From: vincent@cubedesigners.com Date: Sun, 21 Aug 2011 16:05:35 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=2b5ce64a3aad0398344e965f36a864823dfc6c1a;p=cubeextranet.git --- 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);