Unplanned
Last Updated: 20 Jun 2025 08:33 by Michael
Created by: Michael
Comments: 0
Category: PdfProcessing
Type: Bug Report
0
Import-export changes the color of the shading object.
In Development
Last Updated: 13 Jun 2025 13:54 by ADMIN
In Development
Last Updated: 06 Jun 2025 07:10 by ADMIN
Wrong clipping order when exporting a document with MarkedContent leads to a missing content.
Unplanned
Last Updated: 27 May 2025 11:03 by Thomas
PdfProcessing: ArgumentException is thrown when importing a document with a duplicated filed names.
Completed
Last Updated: 22 May 2025 14:26 by Diego
Release 2025.2.520 (2025 Q2)
Wrong font loading when FontFile2 is CFF (Compact Font Format).
Completed
Last Updated: 22 May 2025 13:37 by ADMIN
Release 2025.2.520 (2025 Q2)
ArgumentOutOfRangeException is thrown when creating a CapPathRound for an SVG element.
Completed
Last Updated: 22 May 2025 13:37 by ADMIN
Release 2025.2.520 (2025 Q2)
Exporting a specific PDF file generates large amounts of ExtGState entries, which results in large file sizes.
Completed
Last Updated: 22 May 2025 13:37 by ADMIN
Release 2025.2.520 (2025 Q2)
Example: 
16 0 obj
<</AP<</N<</Off null/On 188 0 R>>/D<</Off 189 0 R/On 190 0 R>>>>/AS/Off/F 4/FT/Btn/H/T/P 19 0 R/Rect[ 40.3 690.45 56.15 706.7999]/Subtype/Widget/T(Einraeumung:Grabnutzungsrechts)/Type/Annot>>
endobj

 
Completed
Last Updated: 22 May 2025 13:37 by ADMIN
Release 2025.2.520 (2025 Q2)
This is not a valid scenario, but Adobe Acrobat handles it and we should too. 
Completed
Last Updated: 22 May 2025 13:37 by ADMIN
Release 2025.2.520 (2025 Q2)
InvalidCastException is thrown when importing a document with an annotation declared in the Fields collection.
Completed
Last Updated: 22 May 2025 13:37 by ADMIN
Release 2025.2.520 (2025 Q2)
The case is invalid according to the specification but all readers manage to open the document and allow editing its fields. The document can be also opened in RadPdfViewer but without the fields and the widgets.
Completed
Last Updated: 22 May 2025 13:37 by ADMIN
Release 2025.2.520 (2025 Q2)

When merging documents` pages using the PdfStreamWriter the Form Fields are not copied:

using (PdfStreamWriter fileWriter = new PdfStreamWriter(File.OpenWrite(document2Name)))
{
	// Iterate through the files you would like to merge 
	for (int i = 0; i < 2; i++)
	{
		// Open each of the files 
		using (PdfFileSource fileToMerge = new PdfFileSource(File.OpenRead(document1Name)))
		{
			// Iterate through the pages of the current document 
			foreach (PdfPageSource pageToMerge in fileToMerge.Pages)
			{
				// Append the current page to the fileWriter, which holds the stream of the result file 
				fileWriter.WritePage(pageToMerge);
			}
		}
	}
}

A possible workaround is to use the RadFixedDocument`s Merge() method: 

document1.Merge(document2);

 

Completed
Last Updated: 22 May 2025 13:36 by ADMIN
Release 2025.2.520 (2025 Q2)
IndexOutOfRangeException is thrown due to wrongly processed image data.
Completed
Last Updated: 22 May 2025 13:36 by ADMIN
Release 2025.2.520 (2025 Q2)

The StokeAlphaContant is not handled correctly when applied on a TextFragment:

Completed
Last Updated: 22 May 2025 13:36 by ADMIN
Release 2025.2.520 (2025 Q2)
When a signed document containing an image with Indexed color space is import-exported the image data seems corrupted.
Completed
Last Updated: 22 May 2025 13:36 by ADMIN
Release 2025.2.520 (2025 Q2)
Wrong glyph rendering due to incorrectly parsed Type1Font glyph data.
Completed
Last Updated: 22 May 2025 13:36 by ADMIN
Release 2025.2.520 (2025 Q2)

I have a simple program that imports a PDF, calls AcroForm.FlattenFormFields(), and calls Export() on the PdfFormatProvider. With the attached example PDF I am seeing the following exception.

System.NotImplementedException: 'The method or operation is not implemented.'

Stack Trace

at Telerik.Windows.Documents.Core.Fonts.Type1.Type1Format.Type1FontSource.GetCapHeight()
   at Telerik.Windows.Documents.Core.Fonts.FontSource.get_CapHeight()
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.Fonts.FontDescriptor.CopyRequiredButType3FontPropertiesFrom(FontBase font)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.Fonts.FontDescriptor.CopyPropertiesFrom(IPdfExportContext context, FontBase font)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.Fonts.SimpleFontObject.CopyPropertiesFromOverride(IPdfExportContext context, FontBase font)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Export.PdfExporter.WriteFontsFromContext(PdfWriter writer, IPdfExportContext context)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Export.PdfExporter.Export(IRadFixedDocumentExportContext context, Stream output)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.ExceptionHandling.ExecutionHandler.TryHandleExecution[E](Action operation)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider.ExportOverride(RadFixedDocument document, Stream output)

Completed
Last Updated: 22 May 2025 13:36 by ADMIN
Release 2025.2.520 (2025 Q2)
As a result, the glyphs are not measured and arranged properly. The issue applies to TrueType and Type1 fonts.
Completed
Last Updated: 22 May 2025 13:36 by ADMIN
Release 2025.2.520 (2025 Q2)
InvalidDataException: 'Unknown compression method (0x3C)' when importing a file with XRef table defined in an object with FlateDecode filter.
Unplanned
Last Updated: 08 May 2025 06:36 by Vitalii

Error message: 

System.InvalidCastException: 'Unable to cast object of type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Elements.Forms.FormFieldsTree' to type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfArray'.'
1 2 3 4 5 6