Published on 28 March 2019
We have released Docotic.Pdf 5.8 on our site and on NuGet.
When using fonts embedded in PDFs, the latest version draws and extracts text significantly better. This is because we improved handling of fonts and fixed issues related to text extraction.
The new version adds ability to provide custom font loader for non-embedded fonts. It is helpful in cases when library has no access to GDI+. For example, when running in AWS Lambda and similar environments. Take a look at the new PdfConfigurationOptions.FontLoader property. We also added the DirectoryFontLoader class as an implementation of a directory-based font loader.
And there is yet another important improvement. Docotic.Pdf 5.8 brings the new PdfDocument.RemoveUnusedResources() method. This new method removes references to unused page and XObject resources. It helps to reduce file size in cases when document contains pages or XObjects with unused resources.
As always, we improved support for broken and incorrect documents. And we fixed some bugs of our own.
Read about all new features and improvements in Docotic.Pdf 5.8 in the Version History document.