Skip to content

Conversation

@cyber-titan
Copy link
Contributor

added inji vc render library usage

Signed-off-by: cyber-titan <124165966+cyber-titan@users.noreply.github.com>
Signed-off-by: cyber-titan <124165966+cyber-titan@users.noreply.github.com>
try (ByteArrayOutputStream pdfOutputStream = new ByteArrayOutputStream();
PdfWriter pdfWriter = new PdfWriter(pdfOutputStream)) {

String html = "<html><body>" + svgContent + "</body></html>";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try to use Apache Batik so directly SVG to pdf conversion instead of svg to html and after that pdf

Signed-off-by: cyber-titan <124165966+cyber-titan@users.noreply.github.com>
Signed-off-by: cyber-titan <124165966+cyber-titan@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants