Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG tspan support #240

Open
pentekc opened this issue Sep 26, 2016 · 0 comments
Open

SVG tspan support #240

pentekc opened this issue Sep 26, 2016 · 0 comments

Comments

@pentekc
Copy link

pentekc commented Sep 26, 2016

I have this problem/would like to have this functionality

There is an SVG graph in the attached file (i was able to upload with txt extension only). The problem is the line breaks on the X axis. Seems the tspan tag is not handled properly. Do you see any possibility to resolve this?

These are mPDF and PHP versions I am using

mPDF: 6.1
PHP: 5.6.8

This is a PHP code snippet I use

require_once __DIR__ . '/mpdf/mpdf.php';
$mpdf = new mPDF();
$html='<img src="svg.svg">';
$mpdf->WriteHTML($html);
$mpdf->Output();

svg.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants