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: 02 Dec 2019 11:57 by ADMIN
RadPDfProcessing: Exception when parsing a Tiling pattern with non-rgb color.
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: 05 Nov 2019 12:03 by ADMIN
Release LIB 2019.3.1111 (11/11/2019)
If the font family name is defined using a language other than English, the font is not applied to the content. This also can affect the performance as the font is read but it is not registered in the FontsRepository.
Last Updated: 10 Oct 2019 14:09 by ADMIN
By specification the destination string can be a string of up to 512 bytes. However, the current implementation supports strings of up to four bytes which leads to: ArgumentOutOfRangeException: 'bytes should be less or equal than 4.Parameter name: bytes'.
Last Updated: 15 Oct 2019 17:38 by ADMIN

I was working on some acroforms and wherever I needed a space I kept on getting a different letter (Ê). On debugging the problem seems to be in the TryGetCharCode function of OpenTypeFontSource

Version: 2019.3.917

Below is copy of function

public override bool TryGetCharCode(int unicode, out int charCode)
            bool result = false;
            ushort glyphId;
            charCode = CMap.MISSING_GLYPH_ID;
            if (this.TryGetGlyphId(unicode, out glyphId))
                ushort uCharCode = CMap.MISSING_GLYPH_ID;
                CMapTable table = this.CMap.GetCMapTable(3, 0);
                if (table != null)
                    result = table.TryGetCharId(glyphId, out uCharCode);

                table = this.CMap.GetCMapTable(1, 0);
                if (table != null)
                    result = table.TryGetCharId(glyphId, out uCharCode);

                charCode = uCharCode;

                return result;

            return false;

The font used has 2 cmap tables: one with platformid of 3 and encodingid of 1, the other with platformid 1 and encodingid 0. According to platform id 3 and encoding 1 is correct for windows so not sure why the first call to getcmaptable looks for encodingid 0.

Second of all even if I change it to the following

CMapTable table = this.CMap.GetCMapTable(3, 1);

if there is a second cmap with platformid of 1 whatever the result of the call with regards to platformid 3, the result will be overridden

I can say that if I add some checks so that if the first call succeeds it doesn't attempt the 2nd I do get the expected behaviour in the pdf and get spaces


As a note the FontFamily property of the OpenTypeFontSource is "Arial"

Last Updated: 01 Oct 2019 11:43 by ADMIN
If ImageInline's size is set through its Size property and not through Height or Width, the given size is not respected on export.
Last Updated: 23 Sep 2019 17:19 by ADMIN
When there is a destination object in a RadFixedDocument and it doesn't have page set (it is null), an exception is thrown. However, this is supported by Adobe and it is not forbidden in the Pdf specification.
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: 17 Oct 2019 05:57 by ADMIN
Release R3 2019 SP1
By specification the widget annotation and its content can be merged into the field dictionary. When merged widget with Kids property is imported an InvalidCastException: 'Unable to cast object of type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.Annotations.WidgetObject' to type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.Forms.FormFieldNode'.' is thrown.
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: 01 Jul 2019 07:04 by ADMIN
Release LIB 2019.2.701 (07/01/2019)
By the PDF format specification, CIDToGIDMap is optional. The default value is Identity. However when exporting CID Font with missing CIDToGIDMap property the analyzing tool causes the following warning message:

"PDF/A requires that a Type 2 CIDFont has a stream mapping from CIDs to glyph indices or the name Identity as its value."
Last Updated: 21 Jun 2019 12:43 by ADMIN
Release LIB 2019.2.624 (06/24/2019)

When there is long text that is out of the used cell range area, this text should be included in page splitting calculations.

Also, when a cell has text that overflows its width, the text is again clipped by the cell boundaries and is not visible in the exported PDF. In a similar case Excel exports the surrounding cells to ensure that the content is visible.

Workaround: Extend the used cell range to include all the cells which the text content spans.

Last Updated: 03 Jun 2019 10:52 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: 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: 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: 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: 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 4 5