Version history

4.0.86.0, released April 25, 2017

  • PDFKit was vulnerable to XML External Entity (XXE) injection

4.0.85.0, released April 19, 2017

  • When writing a specific PDF, an ApplicationException "Expected a dictionary" is thrown
  • Some glyphs have bounding rectangle with zero height

4.0.84.0, released April 11, 2017

  • Green text becomes grey when cloning only text shapes on original document

4.0.83.0, released April 5, 2017

  • In particular cases an out of bounce exception could occur when using document.NamedDestinations.ToArray()
  • A null reference exception could occur when flattening a widget

4.0.82.0, released March 23, 2017

  • Improved accuracy when shapes are created through the Page.CreateShapes() method

4.0.81.0, released February 20, 2017

  • Compatibility with MS certificate store, including non-exportable certificates

4.0.80.0, released February 10, 2017

  • Document specifies an unsupported encryption revision of value 6

4.0.79.0, released February 9, 2017

  • Issue with contents array containing null entry

4.0.78.0, released February 1, 2017

  • Missing method AnnotationVisitor.Visit(FileAttachment)

4.0.77.0, released January 2, 2017

  • Fonts are wrong after compressing from asp net core 1.1

4.0.76.0, released December 22, 2016

  • Opening a protected pdf may result in a WrongPasswordException

4.0.75.0, released December 2, 2016

  • Exception when cloning page.

4.0.74.0, released November 25, 2016

  • OutOfRangeException when Font is "Yu Gothic UI"

4.0.73.0, released November 24, 2016

  • A document cloned via Shapes may differ from the original.
  • ShapeSizeException when cloning page.

4.0.72.0, released November 14, 2016

  • Reduce PDF file size code sample runs long on some PDF files
  • Documents that are cloned via Page.CreasteShapes differ from original
  • Documents that are cloned via Page.CreateShapes may contain artifacts
  • Page.CreateShapes generates wrongly placed text in some cases

4.0.71.0, released November 9, 2016

  • Extracted Text from a PDF in a TextShape is in particular cases not correct

4.0.70.0, released October 14, 2016

  • in some cases TextShapes were sized wrongly

4.0.69.0, released September 20, 2016

  • FreeText annotations with rich text have an improved appearance.
  • In particular cases extracting a page from a document gives an error.

4.0.68.0, released July 7, 2016

  • In some cases when converting EMF to PDF some text was lost
  • javascript behavior changes after stitching

4.0.67.0, released June 16, 2016

  • EMF to PDF hatched brushes are transparent.

4.0.66.0, released June 15, 2016

  • EMF to PDF did not support hatched brushes.
  • In specific cases, an ArgumentOutOfRangeException is thrown when cloning a page.

4.0.65.0, released May 31, 2016

  • NullReferenceException when cloning and saving page
  • In specific scenarios, objects are not garbage collected

4.0.64.0, released April 22, 2016

  • Various optimizations

4.0.63.0, released April 14, 2016

  • A corrupt font causes an exception when cloning a page.

4.0.61.0, released March 7, 2016

  • A CTM with only one non-zero component causes exception

4.0.60.0, released February 4, 2016

  • SvgShape throws a System.IndexOutOfRangeException if a path has a start operator only.
  • In specifc cases, writing the same Document instance throws an exception.
  • Saving a PDF that has a corrupt font throws an exception. We made the engine more lenient.

4.0.59.0, released January 10, 2016

  • Added property DocumentInfo.CustomProperties

4.0.58.0, released November 16, 2015

  • Due to unbalanced save restore operators in original content, new shapes are displayed vertically flipped.
  • Added property DocumentInfo.CustomProperties

4.0.57.0, released October 2, 2015

  • SVG radial gradient doesn't appear

4.0.56.0, released September 9, 2015

  • Fix a concurrency issue when extracting glyphs

4.0.55.0, released August 17, 2015

  • Exception while opening some PDF files.
  • Setting zero value of a field lead to a blank field.

4.0.54.0, released July 21, 2015

  • Fix a bug which made NumericFields blank after flattening.

4.0.53.0, released June 24, 2015

  • Fix an issue when the PDF is encrypted with standard password encryption and signed in the same time

4.0.52.0, released June 17, 2015

  • Fix an issue with missing fields after the document being flattened
  • Support RSA-SHA256 signatures
  • Fix an issue with non standard signature types
  • Fix an issue that caused font corruption when the names of different fonts were the same

4.0.51.0, released May 15, 2015

  • Fix a bug resulting in broken PDF when an ImageShape contains an image mask

4.0.50.0, released April 15, 2015

  • Avoid crash on missing font entries
  • Fix a crash by being more lenient with missing required properties
  • Fix an issue when the font size of some glyphs on the page have a negative height

4.0.49.0, released March 20, 2015

  • Improved glyphs sorting.

4.0.48.0, released February 12, 2015

  • Default view preference is set to simplex

4.0.47.0, released January 20, 2015

  • StackOveflowException gets thrown for some PDF files

4.0.46.0, released December 23, 2014

  • If any of the viewer preferences are set, the Duplex entry of the viewer preferences dictionary is set to Simplex even if the Duplex property is not touched. The Simplex option causes Adobe PDF reader to ignore the 'print on both sides' option on the print dialog and always print simplex. The Duplex enum has been extended with a 'Unspecified field which is the new default. It omits the entry.

4.0.45.0, released December 1, 2014

  • Numeric field is changed during flattening.

4.0.44.0, released November 11, 2014

  • In some cases creation of shapes performs slowly
  • SVG transform matrix is interpreted incorrectly
  • Handling of encryption key is improved

4.0.43.0, released October 21, 2014

  • Fonts.CalculateHeight method is slow for some characters.

4.0.42.0, released October 8, 2014

  • The sizes of some merged documents are reduced significantly.
  • PDF/A-1b output is not compliant
  • In some cases saving file as PDF/A-1b causes StackOverflow exception.

4.0.41.0, released August 26, 2014

  • Add option to justify the last line of a MultiLineTextShape

4.0.40.0, released August 5, 2014

  • Markup annotation raises an exception.
  • In specific cases, the transparency of a brush or image is not handled correctly.
  • In some cases, the SvgShape ignores the font attribute.

4.0.39.0, released July 11, 2014

  • Flattening a document with a large amount of widgets bloats the size of the output document.

4.0.38.0, released July 1, 2014

  • In special cases, widgets are missing in the Field.Widgets and/or the Page.Widgets collection. This is caused by duplicate merged widget/field dictionaries with the same field name. Strictly speaking this is a violation of the specification. We now mimic Acrobat's behavior.
  • We added support for adding embedded files to a document. It is now possible to add entries to Document.EmbeddedFiles.

4.0.37.0, released June 18, 2014

  • Improved robustness against improper field definitions.
  • Text fragments with a single space cannot be underlined.

4.0.36.0, released May 15, 2014

  • Incorrect ICC color information read from existing PDF document.
  • ClipPath does not work as expected with SvgShape.
  • PDFKit.NET is now available as a NuGet package. From the Package Manager Console run: Install-Package TallComponents.PDFKit

4.0.35.2, released March 20, 2014

  • Xfa documents may get incorrectly classified as classic documents.

4.0.35.1, released March 17, 2014

  • Internal change.

4.0.35.0, released February 27, 2014

  • Default field values do not persist when flattened.
  • Page.CreateShapes() may deliver text shapes that are improperly scaled horizontally.

4.0.34.0, released February 6, 2014

  • PageShape may put the page content at an incorrect location.
  • Accessing the Document.Bookmarks collection may lead to an exception.

4.0.33.1, released December 17, 2013

  • We added a CreateBarcodes sample, that shows you how to add a QR-barcode, amongst others.
  • Added the ability to create image shapes from Tiff files that use a type 6 (JPEG) compression. Please note that this compression type is obsolete and superseded by compression type 7 (also JPEG). System.Drawing.Bitmap will not be able to handle type 6 compressed images for example.

4.0.33.0, released December 12, 2013

  • Saving as PDF/A has been optimized for pages that consist of non-transparent images only. This reduces the output size, and memory requirements.

4.0.32.0, released November 27, 2013

  • For some existing PDF documents, new shapes added to an existing page do not show up in the result.

4.0.31.0, released November 20, 2013

  • Improved support for processing corrupt documents.

4.0.30.0, released November 19, 2013

  • Corrupt secured documents may get repaired incorrectly and and will throw a "WrongPassword" exception when opened.
  • In rare cases CreateShapes looses text.

4.0.29.0, released November 6, 2013

  • Added a CreateLayers samples that shows how to create new graphical layers and add shapes to them.
  • Added a RenderingIntent property to the ContentShape class.
  • Reduced memory requirements when creating a document with many images from file paths.

4.0.28.1, released October 28, 2013

  • Improved support for undocumented Adobe text extraction information.

4.0.28.0, released October 8, 2013

  • Creating documents with striped tiff images requires a lot of memory.

4.0.27.1, released October 3, 2013

  • Improved text extraction for documents that use an undocumented Adobe feature for specifying character codes (In Adobe reader this only works if you copy text via Copy With Formatting).

4.0.27.0, released September 19, 2013

  • The windows domain license does not work for the ApplicationPoolIdentity in IIS.
  • Improved text extraction for documents that use an undocumented Adobe feature for specifying character codes.
  • Text extraction may not return the proper character for glyphs that have no entry in the ToUnicode map.
  • After merging pages from different documents, some characters are missing.
  • The viewer preferences now allow access to the following PDF settings: Duplex, NumCopies, PickTrayByPdfSize, PrintArea, PrintClip, ViewArea, ViewClip, PrintPageRange, PrintScaling.

4.0.26.0, released September 5, 2013

  • Added an "ExtractGlyphBoxes" example that generates a bitmap with rectangles for each glyph on a page, taking into account page rotation, and its mediabox and cropbox.
  • Clearing the layers of a document does not remove the first one.
  • Added a ClipShapes sample that uses clipping to hide a rectangle on a page.
  • Improved the field access performance for XFA documents.
  • Improved handling of corrupt documents.

4.0.25.0, released July 31, 2013

  • Improved the ability to read documents that contain erroneous link information.
  • Null references while splitting an encrypted document into separate pages.
  • Added a DownScaleImages sample. This samples reduces the resolution of all images in a document.
  • Saving as PDF/A produces an incorrect result for some pages, in particular for pages that have an orientation that does not equal Rotate0.

4.0.24.1, released June 28, 2013

  • In some situations an exception gets thrown when writing a document with the keepopen flag. This issue was introduced in release 4.0.22.0.

4.0.24.0, released June 27, 2013

  • Newly created or editied FreeText annotations get an inccorect appearance with a black background.
  • In cases that two fonts (from different documents) use the same font name, PDFKit.Net may use the wrong font. This fix is a further refinement of the bug fix in release 4.0.23.0.

4.0.23.0, released June 19, 2013

  • Added a "StampFooter" sample that shows how to stamp each page with custom footer text.
  • PDFKit.Net hangs while extracting glyphs.
  • Document.Find() and Page.Find() may not find the specified text in rotated pages.
  • Allow documents to be read that have minor encryption issues.
  • In rare cases, PDFKit.Net uses the wrong font.

4.0.22.0, released May 29, 2013

  • Saving an ecrypted document with keepopen=true may lead to an exception when accessed afterwards.
  • Some corrupt documents cannot be read. This issue was introduced in 4.0.19.0. Symptoms may be a "Stack Empty" error, or missing elements.
  • After saving, text is no longer a the same position.
  • Opening a document with a wrong password throws an obfuscated exception.
  • Improved the ability to repair documents that have a corrupt field collection. Previously, some fields would appear to be missing.

4.0.21.0, released May 2, 2013

  • Added support for accessing FileAttachment annotations.

4.0.20.0, released April 25, 2013

  • TextShape.MeasuredWidth may return an incorrect value for type 1 fonts.

4.0.19.0, released April 9, 2013

  • Returned fonts widths are sporadically wrong for some CID fonts.
  • Font.CreatePaths throws an exception for some font types.
  • 4.0.18.0 introduced an issue with Reader enabled documents.

4.0.18.0, released March 13, 2013

  • Add certificate retrieval for type "2.16.840.1.101.3.4.2.1WITHRSA".
  • Added the Azure license type.

4.0.17.0, released February 27, 2013

  • Added support for signing documents without breaking Adobe Reader enablement.
  • Writing an encrypted document may produce a corrupt document.
  • Page.CreateShapes() may produce incorrect characters for certain multibyte encodings.

4.0.16.0, released January 31, 2013

  • Added support for files larger than 8GB.
  • Some files load very slowly. This typically happens if files have many layers.
  • Added a redaction sample that processes images in an existing pdf file.

4.0.15.0, released January 16, 2013

  • Documents larger than 2GB throw an exception.
  • In rare cases, special characters like currency symbols and bullets are not shown correctly in flattened documents.
  • Updating a field in an Adobe Reader enabled document that allows field editing will no longer invalidate the enablement if the AppendUpdate writing mode is used.

4.0.14.0, released January 7, 2013

  • Added FreeText.Orientation and Stamp.Orientation properties. These allow creation of rotated markup annotations (multiples of 90 degrees).
  • Added FreeText.InteriorColor, FreeText.TextColor and FreeText.FontSize.
  • FreeText.BorderColor does not control the border color but the interior color.
  • Added Square.InteriorColor.
  • Added Font.DecorationLineWidth.
  • Default values of an XFA document disappear after flattening.

4.0.12.0, released October 24, 2012

  • Some flattened fields do not contain an up-to-date value. This issue was caused by the XFA speed improvement in release 4.0.11.0. This change has therefore been reverted.

4.0.11.0, released September 26, 2012

  • Speed of processing has been improved for XFA documents with many fields.
  • Added support for the "mark as read-only" action when signing a document. As a result, Adobe Acrobat/Reader no longer complains about the document being changed after signing.
  • The Adobe print dialog complains about some documents generated by PDFKit.

4.0.10.0, released September 11, 2012

  • Opening documents with inline images may cause exceptions when the image data itself contains an end-of-image marker.
  • Adobe Reader may report an error for documents that have been produced with an unlicensed version of PDFKit.Net.

4.0.9.0, released July 26, 2012

  • Extracting images leads to incorrect results when done simultaneously in multiple threads.
  • Null reference while importing SVG.
  • Multiline text shapes with a width that is smaller than the width of a single character lead to high memory use.
  • Added support an additonal identifier for the "SHA-1withRSA" algorithm.

4.0.8.0, released June 12, 2012

  • Createshapes works around an issue with fonts that specify incorrect unicode information.
  • CreateShapes looses color information in stencil masks.

4.0.7.0, released June 11, 2012

  • CreateShapes does not respect certain scenarios that involve text as clipping paths.
  • An index out of range exception gets thrown for some Destinations (links).

4.0.6.0, released May 31, 2012

  • the IccBasedColor and IccColorSpace types have been introduced. This allows specifying a color based on an Icc color profile.
  • Named destinations (in bookmarks) with unicode characters in their name may not be accessible.

4.0.5.0, released May 8, 2012

  • The MetafileShape has been re-introduced.
  • Changing the position of a markup annotation may invalidate its appearance.
  • The width of a TextShape may be wrong.

4.0.4.0, released March 22, 2012

  • ImageShapes with transparency sometimes get saved with an upside down transparency mask. This issue was introduced in release 4.0.3.0.
  • Page.CreateShapes delivers incorrect graphics when text is used as a clipping path.
  • Page.CreateShapes more often delivers text strings in a single TextShape, leading to smaller output.

4.0.3.0, released March 15, 2012

  • Page.CreateShapes may return graphics at a shifted position.
  • Page.CreateShapes may lead to a corrupt document if the original page contains inline images.
  • Page.CreateShapes may not create correct gradient colors.
  • Page.CreateShapes may not produce correct text output for fonts that contain a ToUnicode map.

4.0.2.1, released November 28, 2011

4.0.2.0 [BETA], released November 17, 2011

4.0.1.0 [BETA], released November 14, 2011

4.0.0.1 [BETA], released September 29, 2011