In Development
Last Updated: 15 Jan 2025 09:04 by ADMIN
OverflowException (Arithmetic operation resulted in an overflow.) when converting a document to an image. 
In Development
Last Updated: 15 Jan 2025 08:57 by ADMIN
Optical character recognition or optical character reader (OCR) is the electronic or mechanical conversion of images of typed, handwritten, or printed text into a machine-encoded text from a scanned document.
In Development
Last Updated: 15 Jan 2025 08:09 by ADMIN
Signature omitted after exporting PDF to an image.   
Completed
Last Updated: 14 Jan 2025 17:16 by Aleksandr
Release 2025 Q1
ADMIN
Created by: Martin
Comments: 4
Category: PdfProcessing
Type: Feature Request
1

RadPdfProcessing currently supports interactive forms whose data is defined directly in the document. To preserve them when importing and exporting documents, add support for import-export interactive forms based on the Adobe XML Forms Architecture (XFA).

From PDF 2.0 the XFA forms are depreciated.

In Development
Last Updated: 14 Jan 2025 15:13 by ADMIN
Exporting a PDF documents with 2 pages (that are big images) is slow as hell & consuming way too much memory. (for a 2MiB file, over 2GiB!!!)
In Development
Last Updated: 14 Jan 2025 14:55 by ADMIN

When exporting the pdf pages as images with the Skia engine, some parts of the document got missing.

Note: In the previous Version 2024.3.806 these parts appeared.

Unplanned
Last Updated: 14 Jan 2025 13:52 by ADMIN
It seems the font that is rendered in Adobe is not the same. The document does not contain the font and Adobe and PdfViewer are fallbacking to different fonts.
Unplanned
Last Updated: 14 Jan 2025 13:48 by ADMIN
Created by: Desislava
Comments: 0
Category: PdfProcessing
Type: Bug Report
0
It seems there is an issue when transforming the position of the original glyph data
Unplanned
Last Updated: 14 Jan 2025 13:37 by ADMIN
As a result, the glyphs are not measured and arranged properly. The issue applies to TrueType and Type1 fonts.
In Development
Last Updated: 14 Jan 2025 13:22 by ADMIN
Created by: Manikandan
Comments: 0
Category: PdfProcessing
Type: Bug Report
0
NotSupportedException when parsing CFF Type1 font.
In Development
Last Updated: 14 Jan 2025 12:52 by ADMIN
When encoding an image with Grayscale color space an exception is thrown: IndexOutOfRangeException: 'Index was outside the bounds of the array.'
In Development
Last Updated: 14 Jan 2025 12:22 by ADMIN
This exception was originally thrown at this call stack:
    System.ThrowHelper.ThrowKeyNotFoundException()
    System.Collections.Generic.Dictionary<TKey, TValue>.this[TKey].get(TKey)
    Telerik.Windows.Documents.Core.PostScript.Data.PostScriptDictionary.GetElementAs<T>(string) in PostScriptDictionary.cs
    Telerik.Windows.Documents.Core.Fonts.Type1.Type1Format.Dictionaries.Type1Font.ReadGlyphData(string) in Type1Font.cs
    Telerik.Windows.Documents.Core.Fonts.Type1.Type1Format.Dictionaries.Type1Font.GetGlyphDataInternal(string) in Type1Font.cs
In Development
Last Updated: 14 Jan 2025 10:27 by ADMIN

When a PDF document is being imported, some of the characters may experience unexpected results while reading the font.

NOTE: the document is displayed in the MAUI/WPF/WinForms PdfViewer controls with missing parts of the text.

In Development
Last Updated: 10 Jan 2025 13:00 by ADMIN

This is the code snippet for reproducing the error message: 

        static void Main(string[] args)
        {
            string filePath = "Lorem ipsum dolor sit amet.pdf";
            //load a random document
            PdfFormatProvider provider = new PdfFormatProvider();
            RadFixedDocument originalDocument;
            using (Stream stream = File.OpenRead(filePath))
            {
                originalDocument = provider.Import(stream);
            }
            //draw something on the first page
            FixedContentEditor editor = new FixedContentEditor(originalDocument.Pages[0]);
            editor.GraphicProperties.IsFilled = true;
            editor.GraphicProperties.FillColor = RgbColors.Black;
            Telerik.Documents.Primitives.Rect Rect = new Telerik.Documents.Primitives.Rect(10, 10, 200, 100);
            editor.DrawRectangle(Rect);

            //export the pages as images and build a brand new document from the images
            SkiaImageFormatProvider imageProvider = new SkiaImageFormatProvider();
            imageProvider.ExportSettings.ImageFormat = SkiaImageFormat.Jpeg;
            imageProvider.ExportSettings.ScaleFactor = 0.8;
            imageProvider.ExportSettings.Quality = 80;


            RadFixedDocument doc = new RadFixedDocument();
            foreach (RadFixedPage page in originalDocument.Pages)
            {
                byte[] resultImage = imageProvider.Export(page);
                RadFixedPage pdfpage = doc.Pages.AddPage();
                editor = new FixedContentEditor(pdfpage);
                Stream imageStream = new MemoryStream(resultImage);
                editor.DrawImage(imageStream);
            }

            //export the pdf built from the images
            PdfFormatProvider pdfFormatProvider = new PdfFormatProvider();
            string outputPdf = @"output.pdf";
            File.Delete(outputPdf);
            using (Stream output = File.OpenWrite(outputPdf))
            {
                pdfFormatProvider.Export(doc, output);
            }
            Process.Start(new ProcessStartInfo() { FileName = outputPdf, UseShellExecute = true });
        }

Workaround:

        static void Main(string[] args)
        {
            string filePath = "Lorem ipsum dolor sit amet.pdf";
            //load a random document
            PdfFormatProvider provider = new PdfFormatProvider();
            RadFixedDocument originalDocument;
            using (Stream stream = File.OpenRead(filePath))
            {
                originalDocument = provider.Import(stream);
            }
            //draw something on the first page
            FixedContentEditor editor = new FixedContentEditor(originalDocument.Pages[0]);
            editor.GraphicProperties.IsFilled = true;
            editor.GraphicProperties.FillColor = RgbColors.Black;
            Telerik.Documents.Primitives.Rect Rect = new Telerik.Documents.Primitives.Rect(10, 10, 200, 100);
            editor.DrawRectangle(Rect);

            using (Stream output = File.OpenWrite(filePath))
            {
                provider.Export(originalDocument, output);
            }

            using (Stream stream = File.OpenRead(filePath))
            {
                originalDocument = provider.Import(stream);
            }
            //export the pages as images and build a brand new document from the images
            SkiaImageFormatProvider imageProvider = new SkiaImageFormatProvider();
            imageProvider.ExportSettings.ImageFormat = SkiaImageFormat.Jpeg;
            imageProvider.ExportSettings.ScaleFactor = 0.8;
            imageProvider.ExportSettings.Quality = 80;


            RadFixedDocument doc = new RadFixedDocument();
            foreach (RadFixedPage page in originalDocument.Pages)
            {
                byte[] resultImage = imageProvider.Export(page);
                RadFixedPage pdfpage = doc.Pages.AddPage();
                editor = new FixedContentEditor(pdfpage);
                Stream imageStream = new MemoryStream(resultImage);
                editor.DrawImage(imageStream);
            }

            //export the pdf built from the images
            PdfFormatProvider pdfFormatProvider = new PdfFormatProvider();
            string outputPdf = @"output.pdf";
            File.Delete(outputPdf);
            using (Stream output = File.OpenWrite(outputPdf))
            {
                pdfFormatProvider.Export(doc, output);
            }
            Process.Start(new ProcessStartInfo() { FileName = outputPdf, UseShellExecute = true });
        }

In Development
Last Updated: 10 Jan 2025 12:24 by ADMIN

Some documents loaded through WordsProcessing and then exported to a RadFixedDocument by utilizing the ExportToFixedDocument() method, fails on export through ImageFormatProvider with System.AggregateException.

As a workaround, you can export the RadFixedDocument to a PDF and then import it again before exporting it to an image.

var pdfFixedProvider = new Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider();
bytes = pdfFixedProvider.Export(fixedDocument);
fixedDocument = pdfFixedProvider.Import(bytes);

 

Declined
Last Updated: 09 Jan 2025 12:30 by ADMIN
ADMIN
Created by: Tanya
Comments: 6
Category: PdfProcessing
Type: Feature Request
15

RadPdfProcessing currently supports interactive forms whose data is defined directly in the document. Add support for interactive forms based on the Adobe XML Forms Architecture (XFA). The entry is defined inside the interactive forms dictionary and refers to an XML stream containing the information of the form. More information is available on page 722 from Pdf Reference, version 1.7.

Updates:

Unplanned
Last Updated: 08 Jan 2025 11:40 by Ken

Add support for actions with invalid Subtype casing.

Example: The action Subtype being "Javascript" instead of the expected "JavaScript".

In Development
Last Updated: 06 Jan 2025 09:20 by ADMIN
After merging documents with PdfStreamWriter the JavaScript actions are broken and not working.
In Development
Last Updated: 06 Jan 2025 07:17 by ADMIN
NullReferenceException has thrown when importing a form XObject with null Resources in PDF dictionary.
In Development
Last Updated: 03 Jan 2025 16:54 by ADMIN

An ArgumentNullException is thrown when importing a document with a missing required MediaBox operator in the Page object ("ArgumentNullException: 'Value cannot be null.")

1 2 3 4 5 6