Unplanned
Last Updated: 18 Oct 2021 08:14 by ADMIN
When creating several documents in a parallel loop (Parallel.ForEach) using the PdfStreamWriter and inserting Block content in them, there are missing characters in some files.

Duplicated
Last Updated: 15 Oct 2021 06:22 by ADMIN
Created by: Dimitar
Comments: 0
Category: PdfProcessing
Type: Feature Request
2
Provide support for exporting type3 fonts
Unplanned
Last Updated: 14 Oct 2021 08:50 by ADMIN
Created by: Avrohom Yisroel
Comments: 0
Category: PdfProcessing
Type: Feature Request
0

Currently, when registering *.pfb font file with FontsRepository.RegisterFont method an exception is thrown during the font creation. 

WORKAROUND:  The font file may be converted to TTF format (*.ttf) which is successfully registered.

Unplanned
Last Updated: 12 Oct 2021 12:02 by ADMIN

Some Shading elements are not property imported which leads to unexpected drawings on the exported (previewed in the PdfViewer) document.

Completed
Last Updated: 05 Oct 2021 07:41 by Dennis
Release LIB 2021.3.1011 (11 Oct 2021)

When importing a document containing a CIDFont with default width (DW) set as PdfReal (double) an exception is thrown: System.InvalidCastException: 'Unable to cast object of type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfReal' to type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfInt'.'

44 0 obj
<< /BaseFont /NotoSansMono-Medium /CIDSystemInfo << ... >> /CIDToGIDMap /Identity /DW 600.00000 ... /Subtype /CIDFontType2 /Type /Font >>
endobj

According to the PDF Specification: DW - integer - (Optional) The default width for glyphs in the CIDFont. Default value: 1000.

Completed
Last Updated: 04 Oct 2021 13:59 by Matthew
Release LIB 2021.3.1011 (11 Oct 2021)
When importing a document containing Widget annotations with an appearance set that contains Marked content (BMC-EMC) with no Field Type (FT) operands set an exception is thrown: System.NullReferenceException: 'Object reference not set to an instance of an object.'
Completed
Last Updated: 04 Oct 2021 09:52 by ADMIN
Release R3 2021 SP1

When using the RadFixedDocument.Pages.AddPage() method RadFixedPages are created without PageNumber set.

Such behavior is observed when exporting a RadFlowDocument to a RadFixedDocument using the ExportToFixedDocument as well.

Unplanned
Last Updated: 24 Sep 2021 13:10 by ADMIN
ADMIN
Created by: Nikolay Demirev
Comments: 0
Category: PdfProcessing
Type: Feature Request
0

PDF / X: the X stands for exchange; a PDF / X document can in principle be processed by any printing company. This means, for example, that only CMYK colors may be used, that all fonts must be present in the PDF, that the document must not be encrypted, and so on.

Declined
Last Updated: 23 Sep 2021 08:46 by ADMIN
Created by: Linus
Comments: 2
Category: PdfProcessing
Type: Bug Report
0

Hi, 

 

I am trying to convert a HTML body to a PDF using HtmlFormatProvider and PdfFormatProvider. 

It works well when I try to create a pdf with "normal" characters, but when I use characters like "åäö" the characters is either missing or replaced with other character. 

I have found a similiar issue but that was due to the fact that the person was using .net core I am using .net framework. 

Am I missing something when I am converting it to a PDF or is there a limitation with special characters like "åäö". 

 


        private string CreateAndStorePdf(string htmlBody)
        {
            Telerik.Windows.Documents.Extensibility.JpegImageConverterBase jpegImageConverter = new Telerik.Documents.ImageUtils.JpegImageConverter();
            Telerik.Windows.Documents.Extensibility.FixedExtensibilityManager.JpegImageConverter = jpegImageConverter;

            var provider = new HtmlFormatProvider();
            var document = provider.Import(htmlBody);
            var exportProvider = new PdfFormatProvider();
            var fixedExportProvider = new Telerik.Windows.Documents.Flow.FormatProviders.Pdf.PdfFormatProvider();
            var fileName = "_original.pdf";

            try
            {
                using (var outputStream = new MemoryStream())
                {
                    exportProvider.Export(fixedExportProvider.ExportToFixedDocument(document), outputStream);
                    outputStream.Seek(0, SeekOrigin.Begin);
                    var pdfBytes = new BinaryReader(outputStream).ReadBytes((int)outputStream.Length);

                    return fileName;
                }
            }
            catch (Exception ex)
            {
                Log.Error(ex, "The pdf could not be created.");
                return null;
            }
        }

 

 

Completed
Last Updated: 20 Sep 2021 13:33 by ADMIN
Release R3 2021 SP1

ArgumentOutOfRangeException is thrown when importing a document because of wrongly parsing to Unicode mapping.

System.ArgumentOutOfRangeException: 'Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index'

Completed
Last Updated: 15 Sep 2021 13:14 by ADMIN
Release R3 2021
Unable to import field with a name the is not specified as a literal string
Completed
Last Updated: 15 Sep 2021 13:13 by ADMIN
Release R3 2021
Exception when importing a file with LabColor gradients 
Completed
Last Updated: 15 Sep 2021 13:07 by ADMIN
Release R3 2021
At this point, the import logic cannot automatically repair such documents and a NullReferenceException is thrown while reading them. You could repair the invalid file using the project from the attachment.
Unplanned
Last Updated: 13 Sep 2021 09:28 by ADMIN

When exporting merged documents when they are imported with ImportSettings set to ReadOnDemand an exception is thrown: KeyNotFoundException: 'The given key was not present in the dictionary.'

 

Completed
Last Updated: 10 Sep 2021 10:38 by ADMIN
Release R2 2020
Created by: David
Comments: 4
Category: PdfProcessing
Type: Feature Request
23
Currently adding an Image content element with ImageSource instantiated with a PNG file format leads to NotSupportedException: 'Can not export other than Jpeg and Jpeg2000 and ImageQuality different than High', when exporting the document.

Support for adding PNG images and exporting to PDF should be implemented for PdfProcessing for .NET Standard scenario.
Unplanned
Last Updated: 07 Sep 2021 11:12 by ADMIN

When a document containing a SignatureField is exported with the IsEncrypted property set to true, a not set UserPassword is required to open it, which makes it impossible to be opened. An InvalidOperationException is thrown with the message "Password is not correct." when importing with PdfProcessing; Adobe Acrobat also doesn't recognize the password.

Workaround: Exporting with AES256 encryption does not have this problem:

provider.ExportSettings = new PdfExportSettings
{
	IsEncrypted = true,
	EncryptionType = EncryptionType.AES256
};

 

Unplanned
Last Updated: 07 Sep 2021 09:20 by ADMIN
Handle the case where "Pages" is used in an actual page. This works in Adobe.
Unplanned
Last Updated: 07 Sep 2021 06:51 by ADMIN
Wrong image size and position when converting specific document to pdf
Completed
Last Updated: 01 Sep 2021 12:16 by ADMIN
Release R1 2021
Currently, importing a document with non-embedded TrueType font will result in a font instance with an empty font source. Support should be added for providing custom font data of TrueType fonts during document import.
Completed
Last Updated: 01 Sep 2021 07:44 by ADMIN
Release R3 2021
Scrolling a large document causes OutOfMemoryException