XML/SvgToPdf/Path.php
authorAlan Knowles <alan@roojs.com>
Thu, 11 May 2017 04:07:52 +0000 (12:07 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 11 May 2017 04:07:52 +0000 (12:07 +0800)
XML/SvgToPdf/Path.php

index 408b909..f0ce330 100644 (file)
@@ -89,6 +89,8 @@ class XML_SvgToPDF_Path  extends XML_SvgToPDF_Base {
         $pdf->setLineWidth($this->style['stroke-width']/ 3.543307);
      
         $c = array();
+        /*
+         *Not sure why this was added..
         if (count($this->d) > 2) {
             $cc = array();
             foreach($this->d as $a) { 
@@ -102,7 +104,9 @@ class XML_SvgToPDF_Path  extends XML_SvgToPDF_Base {
             }
             $pdf->line($cc,0,0,0);
             return;
-        }   
+        }
+        */
+        
 
         foreach($this->d as $a) {
             switch($a[0]) {