X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/aac2613e596527aca4b4b8fc39b227f59966f76c..236c9ef7e3c701d95136f7babc131a1ce9cd1c83:/lib/MECON/PDF/Separador.php diff --git a/lib/MECON/PDF/Separador.php b/lib/MECON/PDF/Separador.php index 67aeb97..e576104 100644 --- a/lib/MECON/PDF/Separador.php +++ b/lib/MECON/PDF/Separador.php @@ -72,8 +72,10 @@ class MECON_PDF_Separador extends MECON_PDF_Contenido { */ function toPDF(&$MARCO) { if($this->_linea) - $MARCO->addLine(0, $MARCO->espacioDisponible, - $MARCO->getWidth(), $MARCO->espacioDisponible); + $MARCO->addLine(0, + $MARCO->espacioDisponible - $this->_alto/2, + $MARCO->getWidth(), + $MARCO->espacioDisponible - $this->_alto/2); $MARCO->espacioDisponible -= $this->_alto; } }