Convert SVG File to PDF and Set More Than One Font Path During PDF Generation Using Java API

Java Developers can now convert SVG File to PDF format and set more than one by font path during PDF Generation by using Aspose.PDF for Java Library.

The latest version of Aspose.Pdf for Java API (4.6.0) has been released. This release provides some great new features and also includes fixes to problems reported in earlier releases. Furthermore, since the first release of the auto-ported version of Aspose.Pdf for Java, Aspose has been working hard to synchronize the classes and enumerations of the two siblings (Aspose.Pdf for .NET and Aspose.Pdf for Java).

In this release, they have made great progress in this area by moving and adding many of the classes from Aspose.Pdf for .NET to the Aspose.Pdf for Java architecture. The complete details of these changes can be found in the documentation section about Public API Changes in Aspose.Pdf for Java 4.6.0.

In this new release, they have introduced a feature that lets user convert Scalable Vector Graphics (SVG) to PDF format. In order to accomplish this requirement, they have introduced a class named SvgLoadOptions. PDF files usually contain text, images, form fields, fonts, annotations and so on, and sometime duplication of resources in a document increases the file size. To reduce the file size, remove unused and duplicate objects. Aspose.Pdf for Java offers the capability to Optimize PDF File Size.

A PDF file is mostly comprised of text and text can have more than one font. Therefore, during PDF generation, they can set more than one font path. In earlier versions of Aspose.Pdf for Java, they had two separate documentation archives: one for the aspose.pdf package and one for the com.aspose.pdf package. From this release, they are providing a single documentation archive for all packages. The .jar is provided under javadoc folder of Aspose.Pdf for Java package. Some important new and improved features included in this release are given below:

- SVG to PDF conversion
- Remove unused objects from PDF file
- Synchronize Java project with .Net project
- Establishment of a unified documentation file for the packages aspose.pdf.* and com.aspose.pdf.*
- Annotation is removed when creating NUP of PDF file
- Concurrency issue is fixed with Aspose.PDF library in image extraction from PDF files
- Splitting the PDF to pages produces same size files is now fixed
- Incorrect font name being returned
- Gif to Pdf conversion process hangs for indefinite time is now fixed
- HTML to PDF: Conversion throws AbstractMethodErro exception is resolved
- Footer now properly appear in Even pages
- XPS to PDF conversion throws exception in class
- Exceptions while adding the PageNumberStamp

Overview: Aspose.Pdf for Java

Aspose.Pdf is a Java PDF component to create PDF documents without using Adobe Acrobat. It supports Floating box, PDF form field, PDF attachments, security, Foot note & end note, Multiple columns document, Table of Contents, List of Tables, Nested tables, Rich text format, images, hyperlinks, JavaScript, annotation, bookmarks, headers, footers and many more. Now user can create PDF by API, XML and XSL-FO files. It also enables user to converting HTML, XSL-FO and Excel files into PDF.

Contact Information

Aspose Pty Ltd
Suite 163, 79 Longueville Road
Lane Cove, NSW, 2066
Phone: 888.277.6734
Fax: 866.810.9465