From: vincent@cubedesigners.com Date: Mon, 28 Jan 2013 15:46:15 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=b42d0a7823cce30c0c3a2a605902c93d26de4f91;p=cubeextranet.git --- diff --git a/inc/ws/Metier/class.ws.document.php b/inc/ws/Metier/class.ws.document.php index d621fcd9f..ecaa7471e 100644 --- a/inc/ws/Metier/class.ws.document.php +++ b/inc/ws/Metier/class.ws.document.php @@ -456,7 +456,7 @@ class wsDocument extends cubeMetier { } $antialiasing = $antialiasing ? 'yes' : 'no'; $freetype = $texts ? 'yes' : 'no'; - $resolution = round($resolution); + $resolution = $resolution; // Exporte les fichiers $pdftoppm = new cubeCommandLine('pdftoppm', null, true); $pdftoppm->setPath(CONVERTER_PATH); @@ -747,7 +747,7 @@ class wsDocument extends cubeMetier { if (!in_array($method, array(self::BARBARE_PNM, self::BARBARE_GS))) { - if (in_array($version, array('stable', 'latest', 'git'))) { + if (in_array($version, array('legacy', 'stable', 'latest', 'git'))) { $program = '/usr/local/swftools/' . $version . '/bin/pdf2swf'; } else { $program = 'pdf2swf';