-
July 6th, 2018, 05:28 AM
#1
Set Default Font Name While Saving a Document as PDF & Get All Fonts from PDF File
What’s new in this release?
Aspose team is pleased to announce the release of Aspose.PDF for Java 18.5 . Since Aspose team always intend to provide an API with robust performance and usable features, It has introduced exciting features in the Java API by porting them from early release of .NET library. Furthermore, several bug fixes and performance improvements have also been made in this release of the API. Usually, Aspose.PDF for Java API used to replace fonts with default font, when specific fonts were not present or installed in the device where document was being generated. Therefore, it has investigated for a feasibility; if a font is used and embedded into the document, the output document should have same font – instead of being replaced by some default font. it has implemented this feature by introducing setDefaultFontName() method in PdfSaveOptions Class. One of the excited features in Aspose.PDF for Java 18.5 is to get all fonts from PDF document programmatically. With this release of the API, users can get all fonts by using getAllFonts() method. An example with complete code snippet is given on the the API documentation section. Along with the above features, there are some important bug fixes also part of this release, such as Extra space is being rendered with commos in PDF to HTML conversion, text goes beyond the page after replacing and many more. Some important improved features included in this release are given below
- DefaultFontName setting when saving Pdf as Pdf
- Implement functionality to get all fonts from document
- NullPointerException when saving PDF as HTML
- Aspose.Pdf 18.4 throws exception "Incomplete private key - missing CRT." when signing document with .pfx file
- PDF to HTML: Extra space is being rendered with commos
- Text goes beyond the page after replacing
- PDF to HTML - Hyperlinks are removed in resultant file
Newly added documentation pages and articles
Some new tips and articles have now been added into Aspose.PDF for Java documentation that may guide you briefly how to use Aspose.PDF for performing different tasks like the followings.
- Set Default Font Name while Saving PDF
- Get All Fonts from PDF Document
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 you can create PDF by API, XML and XSL-FO files. It also enables you to converting HTML, XSL-FO and Excel files into PDF.
More about Aspose.PDF for Java
- Homepage of Aspose.PDF for Java
- Download Aspose.PDF for Java
- Read online documentation of Aspose.PDF for Java
Contact Information
Aspose Pty Ltd
Suite 163, 79 Longueville Road
Lane Cove, NSW, 2066
Australia
Aspose – Your File Format APIs
sales@aspose.com
Phone: 888.277.6734
Fax: 866.810.9465
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|