Last Updated: 03 Apr 2020 09:33 by ADMIN

When the document contains Simple Font with predefined encoding and no ToUnicode mapping the text should be extracted with the following algorithm:

  • Map the character code to a character name according to the font’s Differences array.
  • Look up the character name in the Adobe Glyph List to obtain the corresponding Unicode value. 

Currently, the PdfProcessing library doesn't map the character code properly which leads to wrongly encoded text content.

Last Updated: 02 Apr 2020 08:46 by ADMIN
CryptographicException is thrown when saving with PdfStreamWriter
Last Updated: 06 Mar 2020 14:13 by ADMIN
Some documents result in glyphs with wrong widths after import-export. Widths are mixed making some of them to overlap and others to have bigger distance.
Last Updated: 02 Mar 2020 13:11 by ADMIN
When importing document with predefined ToUnicode CMaps (e.g. Identity-H), an InvalidCastException is thrown with cause: 

Unable to cast object of type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfName' to type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.CMaps.ToUnicodeCMap'.
Last Updated: 28 Feb 2020 09:23 by ADMIN
The Form object does not inherit the graphics state of the page
Last Updated: 26 Feb 2020 11:08 by ADMIN
Last Updated: 13 Feb 2020 14:47 by ADMIN
A KeyNotFoundException is thrown when trying to open a PDF containing specific Type1 font.
Last Updated: 06 Feb 2020 15:14 by ADMIN
The values of rotated widgets on a rotated page are invisible after exporting them. The value can be seen only while editing a field.
Last Updated: 16 Jan 2020 12:14 by ADMIN
Add support for documents with an invalid stream cross-reference table
Last Updated: 13 Dec 2019 06:50 by ADMIN
Exception when the endstream is no on a new row 
Last Updated: 09 Dec 2019 11:52 by ADMIN

When merging files that contain the "159 '\u009f'" char, ArgumentException("The encoding is not supported.") is thrown.


Use PdfFormatProvider.

Last Updated: 28 Nov 2019 08:07 by ADMIN
When the bookmarks are declared as objects instead of a string they are not visible.
Last Updated: 22 Nov 2019 08:08 by ADMIN
By specification, the InteractiveForm fields can have the same name if they are descendants of a common ancestor. Such fields are different representations of the same underlying field; they should differ only in properties that specify their visual appearance. When such a document is imported an ArgumentException: 'An item with the same key has already been added.' is thrown.
Last Updated: 09 Oct 2019 13:11 by ADMIN
Trying to clone the Signature of a SignatureField leads to InvalidOperationException as the FieldName of the cloned signature is already set.
Last Updated: 09 Sep 2019 17:18 by ADMIN

When a TrueType font is defined, the mapping of character codes to glyph indices depends on the built-in cmap table mappings defined in the font and the Encoding property defined in the PDF dictionary.

However, the current implementation maps all characters with cmap tables for Microsoft Symbolic and Macintosh Roman, which causes incorrect mapping results, e.g. space characters are mapped to an Ê glyph.

The issue is also described in the following public item: TryGetCharCode for OpenTypeFont uses wrong cmap and returns wrong charcode.

Workaround: Change the font  of the TextBoxField's widget appearance:
foreach (var widget in field.Widgets)
    widget.TextProperties.Font = FontsRepository.Helvetica;

Last Updated: 05 Aug 2019 14:51 by ADMIN
When the content of a page is rotated, each glyph is exported on a new line.
Last Updated: 01 Aug 2019 07:57 by ADMIN
Importing document containing TextBox widgets with NormalContentSource defining text properties, such as FontSize and Position, are exported with incorrect appearance when the value of the field is modified.
Last Updated: 19 Jul 2019 06:49 by ADMIN
When importing color space defined as an external resource name, a NotSupportedColorSpaceException: 'CS0 color space is not supported.' is thrown.
Last Updated: 28 May 2019 14:42 by ADMIN
After signing a document using the PdfProcessing library and the document is loaded in Adobe Acrobat an error is shown when the signature widget is clicked:
Error during signature verification.  

Adobe Acrobat error.
Expected a dict object.
Last Updated: 15 Apr 2019 14:56 by ADMIN
For example, importing URI Action with invalid mailto URL scheme - mailto:***@***.**(E-mail), throws UriFormatException: 'Invalid URI: The hostname could not be parsed.'
1 2 3