Table of Contents

History of Docotic.Pdf releases in 2014

Version 4.4

November 13th, 2014

  • Added sample code showing how to compress PDF documents. Please take a look at the new Compression group of examples.

  • Added speed improvements to extraction of images with color masks.

  • Added speed improvements to drawing of PDF documents with tiling patterns.

  • Added support for reading launch actions. Take a look at the PdfLaunchAction class.

  • Added ability to calculate distance to baseline of a font. Please take a look at the sample. Also take a look at the following new properties: PdfFont.TopSideBearing and PdfFont.TransformationMatrix.

  • Added ability to set and retrieve soft masks for images. Take a look at the updated description of the PdfImage.Mask property.

  • The library now uses log4net for logging purposes. Place an XML configuration file next to the library if you want to access log messages emitted by the library. More info about configuration files is available on this log4net page.

  • PdfDocument.RemoveStructureInformation method now removes corresponding marked content operators too.

  • Improved parsing of incorrect (not exactly standards compliant) content streams.

  • Improved parsing of incorrect cross-reference (xref) sections.

  • Improved recompression of some black-and-white images.

  • Improved substitution of non-embedded TrueType fonts that are not installed in the system.

  • Fixed bugs related to reading of check box states.

  • Fixed extraction of text bounds for Type3 fonts.

  • Fixed bugs related to copying and extraction of pages.

  • Fixed bugs related to decoding of some LZW streams.

  • Fixed bugs related to reading of check box states.

  • Fixed bugs related to incorrect text widths while drawing.

  • Fixed bugs related to processing of PostScript (Type 4) functions.

  • Fixed bugs related to parsing of fonts.

  • Fixed bugs related to parsing of ToUnicode streams.

  • Fixed bugs related to parsing of auto-size text boxes.

  • Fixed bugs related to handling of TrueType fonts without explicitly specified encoding.

  • Fixed bugs related to processing of color spaces.

  • Fixed bugs related to adding of PNG images.

  • Fixed bugs related to extraction of images with palettes.

  • Fixed bugs related to extraction of inline images.

  • Fixed bugs related to extraction of JPEG images with Separation and DeviceN color spaces.

  • Fixed bugs related to drawing of transparent text.

  • Fixed bugs related to drawing of transparent CMYK images.

  • Fixed bugs related to processing of PDF functions.



Version 4.3

September 1st, 2014

  • Added support for exponential functions. Such functions can be used as tint transforms in separation color spaces. Take a look at PdfExponentialFunction class.

  • Added ability to create separation color spaces. Such color spaces can be used to create spot colors. Take a look at PdfSeparationColorSpace class.

  • Added support for spot colors. Take a look at PdfSpotColor class.

  • Added support for drawing of PDF documents with Type3 fonts.

  • Added speed improvements to Type0 fonts processing.

  • Added speed improvements to LZW decoder.

  • Added speed improvements to drawing of images with color masks.

  • Added new property PdfFont.Format that returns the format of the font.

  • Docotic.Pdf now comes in two versions. One is for .NET 4.0 and later and the other one is for .NET 2.0 and later. Both versions offer the same APIs but they built against different runtimes.

  • PdfTextExtractionOptions.PreferFontEncodings property is marked obsolete (and will be removed in the next release of Docotic.Pdf). Docotic.Pdf now automatically detects whether to prefer font encoding.

  • Reduced amount of memory required for linearizer.

  • Improved drawing of PDF documents with tiling patterns.

  • Improved support for incorrect font dictionaries produced by broken PDF generators.

  • Improved support for incorrect trailers.

  • Improved algorithm for auto-calculation of text size when font size is 0.

  • Improved support for color spaces in rasterizer.

  • Improved handling of resources in form XObjects.

  • Fixed bugs in license manager related to date changes.

  • Fixed bugs related to processing of colors.

  • Fixed bugs related to parsing of documents.

  • Fixed bugs related to PDF forms filling.

  • Fixed bugs related to handling of fonts without explicitly specified encoding.

  • Fixed bugs related to handling of symbolic TrueType fonts.

  • Fixed bugs related to text extraction.

  • Fixed bugs related to drawing of PDF vector paths.

  • Fixed bugs related to drawing of glyphs with zero width.

  • Fixed bugs related to extraction of inline images.

  • Fixed bugs related to drawing and extraction of CMYK JPEG images.

  • Fixed bugs related to drawing and extraction of JBIG2 images.

  • Fixed bugs related to extraction of JPEG 2000 images.



Version 4.2

June 19th, 2014

  • Added ability to remove all structure information from documents. Take a look at PdfDocument.RemoveStructureInformation method. Removing structure information can significantly reduce file size if document will then be saved with PdfSaveOptions.RemoveUnusedObjects property set to true.

  • PdfFontEmbedStyle enumeration and PdfSaveOptions.FontEmbedStyle property are marked obsolete. Added new PdfFont methods instead: PdfFont.Embed, PdfFont.Unembed and PdfFont.RemoveUnusedGlyphs. New methods can be used to manage embedding of font bytes in produced PDF documents. PdfFont.Embed method can embed font bytes for used but previously non-embedded PDF fonts.

  • Added support for rotated controls and ability to rotate them. Take a look at PdfControl.Rotate(PdfRotation) method and PdfControl.Rotation property. From now on, new controls are automatically rotated according to the PdfPage.Rotation.

  • Added support for drawing of free text (see PdfFreeTextAnnotation) and rectangle (see PdfRectangleAnnotation) annotations.

  • Added ability to specify 0 for PdfTextBox.FontSize and PdfComboBox.FontSize properties. Zero value means that the font size is to be automatically adjusted in PDF viewer so that the text fills the control as much as possible.

  • Added ability to import appearance streams specified in FDF files.

  • Added ability to resize and scale non-JPEG images.

  • Added ability to compress resized and scaled images with Flate compression scheme.

  • Updated documentation for PdfTextData.FontSize, PdfTextData.Bounds, PdfTextData.Position, PdfTextData.Size and PdfTextData.TransformationMatrix properties.

  • Improved drawing of PDF pages when library is used in older Windows OS.

  • Improved support for Separation and DeviceN color spaces.

  • Improved support for non-standard font encodings.

  • Improved support for inline images.

  • Reduced amount of memory required for font processing.

  • Reduced amount of memory required to open a document.

  • Following properties are marked obsolete (and will be removed in the next release of Docotic.Pdf): LicenseManager.SavingAllowed, LicenseManager.ReadingAllowed, LicenseManager.DrawingAllowed. Please use BitMiracle.Docotic.LicenseManager.HasValidLicense instead of any of these properties.

  • Fixed bugs related to drawing of PDF pages.

  • Fixed bugs related to text extraction.

  • Fixed bugs related to handling of non-embedded fonts.

  • Fixed bugs related to adding of some types of TIFF images to documents.

  • Fixed bugs related to extraction of JPEG 2000 images.

  • Fixed bugs related to extraction of CMYK JPEG images.

  • Fixed bug related to opening of PDF documents, encrypted with 128-bit keys, on Mac OS.

  • Fixed bugs related to saving of linearized documents and documents with object streams.

  • Fixed bugs related to PDF forms filling.

  • Fixed bugs related to reading of XMP Metadata properties.

  • Fixed bugs related to adding of System.Drawing.Images to documents.

  • Fixed bugs related to appending of documents.

  • Fixed bugs related to appending of content to existing document pages.

  • Fixed bugs related to reading and changing of inherited resources.

  • Fixed bugs related to reading of documents with unusual cross-reference sections.

  • Fixed a bug related to default behavior of PdfRemoteGoToAction.



Version 4.1

January 13th, 2014

  • Added support for remote go-to actions. Take a look at the PdfRemoteGoToAction class and new methods and properties: PdfDocumentView.PageIndex, PdfDocument.CreateRemoteGoToPageAction(String, Int32)

  • Added new PdfDrawOptions.TileWidth and PdfDrawOptions.TileHeight properties which can be used to control how much memory is used while drawing.

  • Added support for ASCIIHexDecode filter.

  • Added support for structured content. From now on, the library keeps structure information when merging / appending documents. The library also removes structure information when corresponding object (e.g. page) gets removed.

  • Improved drawing of PDF pages. Improwing drawing of documents produced by Lexmark scanners.

  • Improved extraction of mask images.

  • Fixed bugs related to opening of encrypted documents.

  • Fixed bugs related to extraction of TIFF images.

  • Fixed bugs related to processing of named destinations (document views).

  • Fixed bugs related to parsing of page content streams.

  • Fixed bugs related to parsing of object streams.

  • Fixed issue with junk bytes at the end of cross-reference streams.



Previous releases