projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb6ca4e
)
XML/SvgToPdf/Path.php
author
Alan Knowles
<alan@roojs.com>
Thu, 11 May 2017 04:07:52 +0000
(12:07 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 11 May 2017 04:07:52 +0000
(12:07 +0800)
XML/SvgToPdf/Path.php
patch
|
blob
|
history
diff --git
a/XML/SvgToPdf/Path.php
b/XML/SvgToPdf/Path.php
index
408b909
..
f0ce330
100644
(file)
--- a/
XML/SvgToPdf/Path.php
+++ b/
XML/SvgToPdf/Path.php
@@
-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]) {