Completed
Last Updated: 30 Nov 2021 09:32 by ADMIN
Release R1 2022

When invoking the FontsRepository.TryCreateFont() method to create Font from an installed TrueType font with font properties set (FontStyles.Italic, FontWeights.Bold) the name of the created font is not correct.

FontBase font;
bool isRegistered = FontsRepository.TryCreateFont(new FontFamily("Helvetica"), FontStyles.Italic, FontWeights.Bold, out font);

Expected:<Helvetica-BoldOblique>
Actual:<Helvetica,Italic>

Unplanned
Last Updated: 10 Nov 2021 13:39 by ADMIN
Exporting a file with a Cmap and custom encoding results in an invalid file
Unplanned
Last Updated: 20 Oct 2021 08:04 by ADMIN

Wrong calculations of new lines and white spaces between characters due to a wrong calculated character`s BoundingRect.

This results in missing whitespaces and/or characters split between lines.

Completed
Last Updated: 21 Oct 2021 14:03 by ADMIN
Release R3 2021 SP1

According to the Pdf SpecificationA given object number must not have an entry in more than one subsection within a single section.

The object on line 7 has object number 2, the same as of object on line 5.

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.

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: 12 Feb 2025 15:20 by ADMIN
Release 2025.1.205 (2025 Q1)

When importing a document with a missing state separator (e.g. linefeed) in the object stream (ObjStm) an exception is thrown: System.InvalidCastException: 'Unable to cast object of type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfDictionary' to type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfInt'.'

А possible workaround could be handling the exceptions: Handling Exceptions.

Completed
Last Updated: 03 Feb 2023 09:27 by ADMIN
Release LIB 2023.1.206 (6 Feb 2023)
Wrong matrix calculations lead to incorrect image (Form XObject) size.
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.'
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: 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: 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.'

 

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
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
Completed
Last Updated: 02 Nov 2023 11:04 by ADMIN
Release R3 2023 SP1
Exception when trying to import a file generated with the PdfProcessing library from HTML