Skip to content

Tamworth

Latest
Compare
Choose a tag to compare
@EliotJones EliotJones released this 05 Jun 20:38
· 141 commits to master since this release

This is a release with various bug-fixes and quality of life improvements but no new major features. It adds many of the supporting classes necessary for PDF rendering.

Breaking Changes

  • IColor can now be of type PatternColor. This implementation will throw an error when calling ToRGBValues(). You might have to check for IColor.ColorSpace != ColorSpace.Pattern before calling this function
  • Remove Details suffix from ColorSpaceDetails property names
  • AlternateColorSpaceDetails renamed to AlternateColorSpace
  • BaseColorSpaceDetails renamed to BaseColorSpace
  • Seal IColor implementations
  • Use double instead of decimal in color spaces and colors
  • Move IColorSpaceContext from IOperationContext to CurrentGraphicsState
  • Removed ColorSpace property from IPdfImage. Use ColorSpaceDetails.Type to get the enum value
  • IColorSpaceContext's CurrentStrokingColorSpace and CurrentNonStrokingColorSpace are now of type ColorSpaceDetails (not a ColorSpace enum anymore). Use CurrentStrokingColorSpace.Type or CurrentNonStrokingColorSpace.Type to get the enum value
  • Logic change to DefaultWordExtractor, a logic bug in the existing implementation was fixed, meaning the output of the default page.GetWords() may change in this version

NET 4.5

Note that this version removes support for .NET 4.5. Consumers should upgrade to .NET 4.5.1 or 4.5.2

Release notes

  • Fix support for using the ZapfDingbats Standard 14 font when creating files
  • Address issue with extracting CJK text from PDFs
  • Fix issue with writing ShowText operations to output files when the text contained parentheses
  • Error handling for Type 2 charstring parsing
  • New letter properties, TextRenderingMode, StrokeColor and FillColor
  • Fix for copying inline images to output files
  • Enums for PDF/A-3 compliance
  • Fix for library embedding PNGs with invalid information on output
  • Resolve PageSize enum for landscape orientation documents
  • Fix to rotation handling. The coordinates used for letters etc. are different now for rotated and/or cropped pages
  • Fix to calculated positions of annotations
  • Fix to adding JPG files to output documents
  • Add height to Type 3 font bounding boxes and default width/height for zero values
  • CreationDate and ModifiedDate are now available in DocumentInformationBuilder
  • Images can be added to document builder without specifying placement rectangle, this will place the image at 0,0 with full width and height
  • PdfAction exposed by Annotation class. InReplyTo property also added
  • GetFields extensions method for AcroForm type
  • Fix for internal links when using existing documents with annotations with PdfDocumentBuilder
  • Handle name conflicts when using PdfDocumentBuilder with one or more existing documents
  • Swaps internal uses of Rijndael and RijndaelManaged to Aes since these were marked as obsolete