Since noone replied in the forum i report this as a bug:
I have this SVG (file.svg)
PHP code:
require_once('../config/lang/eng.php');
require_once('../tcpdf.php');
$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
$pdf->setPrintHeader(false);
$pdf->setPrintFooter(false);
$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
$pdf->setLanguageArray($l);
$pdf->AddPage();
$pdf->ImageSVG($file='file.svg', $x=15, $y=30, $w='', $h='', $link='', $align='', $palign='', $border=0, $fitonpage=false);
$pdf->Output('sample.pdf', 'F');
Screenshot of the PDF compared to the svg file displayed by the browser:
http://img215.imageshack.us/img215/816/pdfproof.jpg
This is not a valid bug.
Before submit a new bug, please carefully read the TCPDF documentation, examples, previous messages on forum and previous bugs. To submit a new a bug you must provide a valid test case by modifying one of the existing example. The test case must be as simple as possible to reproduce the error (remove all unnecessary code). http://www.tcpdf.org