News & Releases
|
|

Spire.PDF 3.9.6 for Java supports converting SVG to PDF
We are glad to announce the release of Spire.PDF 3.9.6 for Java. This version supports converting SVG to PDF, adding SVG picture to PDF and converting PDF to Word with flow layout, and also fixes the issues occurred when drawing and extracting text. View the following information for more details.
Here is a list of changes made in this release
| Category | ID | Description |
| New Feature | SPIREPDF-3545 | Supports converting SVG to PDF.
PdfDocument doc = new PdfDocument(); doc.loadFromSvg(inputFile_svg); doc.saveToFile(outputFile); |
| New Feature | SPIREPDF-3545 | Supports adding SVG picture to PDF.
PdfDocument doc1 = new PdfDocument(); doc1.loadFromSvg(inputFile_svg); PdfDocument doc2 = new PdfDocument(); doc2.loadFromFile(inputFile_pdf); doc2.getPages().get(0).getCanvas().drawTemplate(doc1.getPages().get(0).createTemplate(), new Point2D.Float(10,10), new Dimension(100,100) ); doc2.saveToFile(outputFile, FileFormat.PDF); doc1.close(); doc2.close(); |
| New Feature | - | Supports converting PDF to Word with flow layout.
PdfDocument pdf = new PdfDocument(); pdf.loadFromFile(inputFile); pdf.getConvertOptions().setConvertToWordUsingFlow(true); pdf.saveToFile(outputFile_doc, FileFormat.DOC); |
| Bug | SPIREPDF-3516 | Fixes the issue that the Arabic text was not drawn correctly. |
| Bug | SPIREPDF-3542 | Fixes the issue that it got garbled text after extracting text from PDF. |
Click the link below to download Spire.PDF 3.9.6 for Java