Setting Default Font Name While Saving a Document as PDF & Getting All Fonts from PDF File using Java

Aspose's picture
Printer-friendly versionPrinter-friendly version

It has added a new feature to set default font name while saving a document as PDF. Usually, Aspose.PDF used to replace fonts with default font, when specific fonts were not present or installed in the device where document was being generated. It has now implemented that if a font is used & embedded into a document, the output document should have same font – instead of being replaced by some default font. One important feature in this release is to get all fonts from PDF programmatically.


Lane Cove, NSW, Australia., July 6, 2018 - (PressReleasePoint) -

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 users briefly how to use Aspose.Pdf for performing different tasks like the followings.

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 users can create PDF by API, XML and XSL-FO files. It also enables users to converting HTML, XSL-FO and Excel files into PDF.

More about Aspose.Pdf for Java

Contact Information

Aspose Pty Ltd
Suite 163, 79 Longueville Road
Lane Cove, NSW, 2066
Australia
Aspose – The File Format APIs
sales@aspose.com
Phone: 888.277 6734
Fax: 866.810 9465


Press Contact:
David
Aspose Pty Ltd
Suite 163, 79 Longueville Road
Lane Cove, NSW, 2066
Australia
888.277.6734
*********.*****@*s**s*.com
Email partially hidden to block spam. Please use the contact form here.
Contact David
Email the contact person for this press release. Do not send spam or irrelevant message.
3 + 2 =


Copy this html code to your website/blog to embed this press release.

Comments

Post new comment

6 + 1 =

To prevent automated spam submissions leave this field empty.