Completed
Last Updated: 18 Jul 2023 06:14 by ADMIN
Release R2 2023 SP1
Created by: Adam
Comments: 0
Category: PdfProcessing
Type: Bug Report
0
ImageUtils dependencies are not correct.
Declined
Last Updated: 20 Sep 2023 12:14 by ADMIN

Hello, I had many problems with version 2023.1.117, latest stable 2023.2.606 is unusable also due to issue with scanned documents etc, so I tried 2020.2.703-hotfix, but I am getting other set of issues.

Unfortunately I cannot share the documents, since they are confidential.

With some documents I am getting this error:
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.Objects.FormXObject'.

 

Loading Code:

            PdfFormatProvider pdfFormatProvider = new();

            RadFixedDocument document = pdfFormatProvider.Import(bytes);

 

And stack trace:

   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Converters.AppearanceConverter.ConvertFromDictionary(PostScriptReader reader, IPdfImportContext context, PdfDictionary dictionary)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Converters.AppearanceConverter.Convert(Type type, PostScriptReader reader, IPdfImportContext context, IPdfPrimitive value)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Converters.AppearanceConverter.ConvertFromIndirectReference(Type type, PostScriptReader reader, IPdfImportContext context, IndirectReference indirectReference)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Converters.AppearanceConverter.Convert(Type type, PostScriptReader reader, IPdfImportContext context, IPdfPrimitive value)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Converters.AppearancesConverter.TryImportAppearance(String key, PostScriptReader reader, IPdfImportContext context, PdfDictionary appearancesDictionary, Appearance& appearance)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Converters.AppearancesConverter.ConvertFromDictionary(Type type, PostScriptReader reader, IPdfImportContext context, PdfDictionary dictionary)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Converters.Converter.Convert(Type type, PostScriptReader reader, IPdfImportContext context, IPdfPrimitive value)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Data.PdfPropertyBase`1.PrepareValue(PostScriptReader reader, IPdfImportContext context, IPdfPrimitive value)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Data.LoadOnDemandPropertyBase`1.GetValueFromSource(Boolean shouldDecrypt)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Data.LoadOnDemandPropertyBase`1.GetValue(Boolean shouldDecrypt)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.Annotations.AnnotationObject.get_Appearances()
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.Annotations.AnnotationObject.ToAnnotation(PostScriptReader reader, IRadFixedDocumentImportContext context, Double pageHeightInDip)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.Page.<>c__DisplayClass21_0.<CopyPageAnnotationsTo>b__0()
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.ExceptionHandling.ExecutionHandler.TryHandleExecution[E](Action operation)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.Page.CopyPageAnnotationsTo(IRadFixedDocumentImportContext context, RadFixedPage fixedPage)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.DocumentCatalog.<>c__DisplayClass59_2.<CopyAllPageProperties>b__2()
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.ExceptionHandling.ExecutionHandler.TryHandleExecution[E](Action operation)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.DocumentCatalog.CopyAllPageProperties(PostScriptReader reader, IRadFixedDocumentImportContext context, List`1 contextPages, IList`1 pages)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.DocumentCatalog.CopyPagePropertiesTo(PostScriptReader reader, IRadFixedDocumentImportContext context)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.DocumentStructure.DocumentCatalog.CopyPropertiesTo(PostScriptReader reader, IRadFixedDocumentImportContext context)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.RadFixedDocumentImportContext.BeginImportOverride()
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.BaseImportContext.BeginImport(Stream pdfFileStream)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.PdfImporter.Import(Stream input, IPdfImportContext context)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider.<>c__DisplayClass18_0.<ImportOverride>b__0()
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.ExceptionHandling.ExecutionHandler.TryHandleExecution[E](Action operation)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider.ImportOverride(Stream input)
   at Telerik.Windows.Documents.Common.FormatProviders.FormatProviderBase`1.Import(Stream input)
   at Telerik.Windows.Documents.Common.FormatProviders.BinaryFormatProviderBase`1.Import(Byte[] input)
   at Client.Wpf.Common.UserControls.PdfViewer.LoadBytesToPdfViewer(Byte[] bytes) in C:\Users\tomas.filip\source\repos\FiFi\Client.Wpf\Common\UserControls\PdfViewer.xaml.cs:line 65
   at System.Reactive.AnonymousSafeObserver`1.OnNext(T value)
   at System.Reactive.ObserveOnObserverNew`1.DrainStep(ConcurrentQueue`1 q)
   at System.Reactive.ObserveOnObserverNew`1.DrainShortRunning(IScheduler recursiveScheduler)
   at System.Reactive.Concurrency.DispatcherScheduler.<>c__DisplayClass12_0`1.<Schedule>b__0()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)


Completed
Last Updated: 18 Jul 2023 12:24 by ADMIN
Release R3 2023
KeyNotFoundException: 'The given key was not present in the dictionary.' when getting glyph width with a standard font and WinAnsiEncoding.
Unplanned
Last Updated: 25 Jul 2023 13:29 by Abhi
Form fields height is wrong after export with a specific document. This leads to misplaced lines.
Won't Fix
Last Updated: 22 Feb 2024 12:56 by ADMIN

When importing specific documents and signing a predefined SignatureField leads to not successfully validated signatures in Adobe, but successfully validated in other pdf viewers (eg. Telerik WPF PdfViewer, Foxit PDF Reader).

Solution:
When signing an existing document (after the import) we must be sure the AcroForm's ViewersShouldRecalculateWidgetAppearances property is set to false, otherwise, the exported and signed PDF document could not be shown as a signed. 

if (document.AcroForm.ViewersShouldRecalculateWidgetAppearances)
{
	document.AcroForm.ViewersShouldRecalculateWidgetAppearances = false;
}

Completed
Last Updated: 09 Aug 2023 14:16 by ADMIN
Release R3 2023

When exporting documents containing TrueType Postscript fonts perceived as Standard fonts the fonts should not be embedded but they actually are.

Examples of such fonts are Arial MT, TimesNewRomanPSMT, etc.

Completed
Last Updated: 01 Aug 2023 11:30 by ADMIN
Release R3 2023
When importing a specific document with an invalid offset of the cross-reference table an InvalidOperationException is thrown: System.InvalidOperationException: 'Stack empty.'
Completed
Last Updated: 09 Aug 2023 14:10 by ADMIN
Release R3 2023
When importing a document containing an updated xref table that has an invalid offset an exception is thrown: System.NullReferenceException: 'Object reference not set to an instance of an object.'
Declined
Last Updated: 15 Nov 2023 12:58 by ADMIN
Created by: Gary
Comments: 3
Category: PdfProcessing
Type: Bug Report
0
When flattening a document with esignature the signature gets removed. Digital signatures remain, but esignatures do not.
Completed
Last Updated: 12 Sep 2023 07:23 by ADMIN
Release R3 2023
When importing and merging documents the fonts are extracted directly from the files and can duplicate if the files contain exactly the same fonts/subsets.
Completed
Last Updated: 08 Sep 2023 12:25 by ADMIN
Release R3 2023
InvalidDataException: 'Unknown compression method (0x31)' when decompressing a Shrunk stream
Completed
Last Updated: 02 Aug 2024 11:08 by ADMIN
Release 2024.3.802 (2024 Q3)
WIth specific documents, the text is exported with the wrong position when exporting document pages to images using the SkiaImageFormatProvider.
Unplanned
Last Updated: 31 Aug 2023 10:04 by Shreya
Created by: Shreya
Comments: 0
Category: PdfProcessing
Type: Feature Request
0
Introduce support for reading barcodes from images.
Completed
Last Updated: 31 Oct 2023 06:15 by ADMIN
Release R3 2023 SP1
When concurrent accessing the FontsRepository`s RegisterFont (private) method from different threads an exception is thrown: System.IndexOutOfRangeException: 'Index was outside the bounds of the array.'
Unplanned
Last Updated: 17 Oct 2023 10:48 by Jean-Christian
Created by: Jean-Christian
Comments: 0
Category: PdfProcessing
Type: Bug Report
0
Nested tables cause cropped borders of the child table. The outside borders of the child table are half the width.
Completed
Last Updated: 25 Oct 2023 12:35 by ADMIN
Release R3 2023 SP1
When rendering an encoded image for a second time the image data seems corrupted and an exception is thrown: InvalidOperationException: 'Illegal character.'
Completed
Last Updated: 15 Jan 2024 11:48 by ADMIN
Release R3 2023 SP1
Wrong font file loaded when CidType2Font with Standard name.
Completed
Last Updated: 22 May 2025 13:37 by ADMIN
Release 2025.2.520 (2025 Q2)
Created by: João
Comments: 0
Category: PdfProcessing
Type: Feature Request
0
Introduce support for UnShrinking - Method 1.
Completed
Last Updated: 02 Aug 2024 11:09 by ADMIN
Release 2024.3.802 (2024 Q3)
Darker and lower quality image export on macOS.
Completed
Last Updated: 02 Nov 2023 08:20 by ADMIN
Release R3 2023 SP1
OverflowException when importing a document with a signature that has an empty Location string.