[
https://issues.apache.org/jira/browse/FOP-3133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17725797#comment-17725797
]
Srikant Das commented on FOP-3133:
----------------------------------
Hello Team,
Can I get a quick response please?
Best regards,
Srikant
> Labels are missing in PDF when SVG is converted to PDF using PDFTranscoder
> --------------------------------------------------------------------------
>
> Key: FOP-3133
> URL: https://issues.apache.org/jira/browse/FOP-3133
> Project: FOP
> Issue Type: Bug
> Reporter: Srikant Das
> Priority: Major
> Attachments: test.svg
>
>
> I was converting an SVG File into PDF using Apache Batik but labels are
> missing in the PDF
> The following code is used to generate PDF:
> {code:java}
> import org.apache.batik.transcoder.TranscoderInput;
> import org.apache.batik.transcoder.TranscoderOutput;
> ...
> File svgFile = new File("./target/test.svg");
> ...
> PDFTranscoder transcoder = new PDFTranscoder();
> try (FileInputStream fileInputStream = new FileInputStream(svgFile);
> FileOutputStream fileOutputStream = new FileOutputStream(new
> File("./target/test-batik.pdf"))) {
> TranscoderInput transcoderInput = new TranscoderInput(fileInputStream);
> TranscoderOutput transcoderOutput = new
> TranscoderOutput(fileOutputStream);
> transcoder.transcode(transcoderInput, transcoderOutput);
> }
> {code}
> {code:java}
> //dependency
> <dependency>
> <groupId>org.apache.xmlgraphics</groupId>
> <artifactId>batik-transcoder</artifactId>
> <version>1.10</version>
> </dependency>
> {code}
> Could you please help me to resolve this issue?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)