GrapeCity Documents for PDF 5.0.0.762

Released: Dec 14, 2021

Aggiornamenti in 5.0.0.762

Funzionalità

  • Added the ability to render SVG (Scalable Vector Graphics) images to PDF.
  • Added GcPdfDocument.OptimizeFonts() method which optimizes font usage by merging subsets of same fonts, and by removing duplicate and unused fonts.
  • An arbitrary PDF can now be linearized ("fast web view") by loading it into GcPdfDocument and saving with SaveMode.Linearized parameter passed to an appropriate Save()/Sign() method overload.
  • When using a Security Handler Revision 4 or earlier with unspecified owner password, it is now set to user password. This behavior is consistent with PDF spec.
  • Breaking changes affecting all GrapeCity.Documents packages:
    • GrapeCity.Documents.Common package has been removed, types defined in it have been moved to GrapeCity.Documents.Imaging.
    • GrapeCity.Documents.Common.Windows package has been replaced by GrapeCity.Documents.Imaging.Windows.
    • GrapeCity.Documents.Pdf.Resources has been removed, types defined in it have been moved to GrapeCity.Documents.Pdf.
  • Breaking changes:
    • GcPdfDocument.Linearized property is now read-only (was read-write). Use GcPdfDocument.Save(.., SaveMode.Linearized) to linearize the current document.

Correzioni

  • After loading some PDFs the value of GcPdfDocument.Linearized property is incorrect.
  • StackOverflow exception occurs when merging or linearizing certain PDFs.
  • Pen.DashOffset is not handled correctly when rendering to GcPdfGraphics.
  • Saving a certain PDF to PNG produces incorrect result.