Last Updated: 19 May 2020 11:47 by ADMIN
 InvalidCastException when importing a file with missing space. The file contains no space between the objects declarations and the page content and this is why the exception occurs.
Last Updated: 14 May 2020 15:43 by ADMIN
When importing a VariableContent widget with OpenType font, which fails to read the post table of the font file, a NullReferenceException is thrown when the RecalculateContent() method is called.

Workaround: Change the widget font:

foreach (Widget widget in textBoxField.Widgets)
    widget.TextProperties.Font = FontsRepository.Helvetica;
Last Updated: 06 May 2020 11:25 by ADMIN
Created by: Pochun
Comments: 1
Category: PdfProcessing
Type: Bug Report

Telerik Pdf Processing Cannot open the attached pdf file and exception occur.

How do i slove it?

Code :
  RadFixedDocument document = new PdfFormatProvider().Import(input);

Exception Message :
   System.UriFormatException  無效的 URI: 無法剖析主機名稱。

Source :

Stack Trace :

於 System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
   於 System.Uri..ctor(String uriString, UriKind uriKind)
   於 Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.Actions.UriActionObject.ToAction(PostScriptReader reader, IRadFixedDocumentImportContext context)
   於 Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.Annotations.LinkObject.ToAnnotationOverride(PostScriptReader reader, IRadFixedDocumentImportContext context)
   於 Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.Annotations.AnnotationObject.ToAnnotation(PostScriptReader reader, IRadFixedDocumentImportContext context, Double pageHeightInDip)
   於 Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.Page.CopyPropertiesTo(PostScriptReader reader, IRadFixedDocumentImportContext context, RadFixedPage fixedPage)
   於 Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.DocumentCatalog.CopyPagePropertiesTo(PostScriptReader reader, IRadFixedDocumentImportContext context)
   於 Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.DocumentCatalog.CopyPropertiesTo(PostScriptReader reader, IRadFixedDocumentImportContext context)
   於 Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.RadFixedDocumentImportContext.BeginImportOverride()
   於 Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.BaseImportContext.BeginImport(Stream pdfFileStream)
   於 Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.PdfImporter.Import(Stream input, IPdfImportContext context)
   於 Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider.ImportOverride(Stream input)
   於 Telerik.Windows.Documents.Common.FormatProviders.FormatProviderBase`1.Import(Stream input)
   於 Telerik.Windows.Documents.Common.FormatProviders.BinaryFormatProviderBase`1.Import(Byte[] input)
Last Updated: 04 May 2020 09:08 by ADMIN
The underline gets over the text when the line spacing is set to exact, spacing after is set to 0, and the font size is less than 12.
Last Updated: 04 May 2020 08:01 by ADMIN
The checkbox state is not correctly imported when the value is not specified
Last Updated: 01 May 2020 07:05 by ADMIN
The calculations are wrong, leading to single lines split by the LineSpacing set. As a result, the content of the PDF document is laid out on a bigger number of pages.

Workaround: Change the LineSpacingType to HeightType.Auto.
Last Updated: 30 Apr 2020 09:01 by ADMIN
The current implementation relies on valid cross-reference offsets in the PDF documents so that PDF objects are easily found and parsed. However, we may implement a mechanism for importing documents with invalid offsets for the objects inside the table.
Last Updated: 07 Apr 2020 07:56 by ADMIN
NullReferenceException is thrown when importing a PDF document containing InlineImage with missing parameters
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: 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: 25 Mar 2020 15:08 by ADMIN
Release LIB 2020.1.316 (03/16/2020)

I am using the trial version of telerik for xamarin for .net core which was released last year, to convert pdf to text. Our service is hosted in Azure. The text which I get back, in certain cases the spaces are missing (say for example instead of 'I [am] here', it displays 'I[am]here'. This happens randomly. 

The code which we have used is as follows -

byte[] pdfBinary = Convert.FromBase64String(inputString);

 TextFormatProviderSettings textFormatProviderSettings = new TextFormatProviderSettings("\r\n", " ");
 var textFormatProvider = new TextFormatProvider();
 var pdfFormatProvider = new PdfFormatProvider();

 RadFixedDocument document = pdfFormatProvider.Import(pdfBinary);
 result = textFormatProvider.Export(document, textFormatProviderSettings);
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: 06 Feb 2020 11:00 by ADMIN
Release LIB 2020.1.210 (02/10/2020)
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.
1 2 3 4 5 6