Unplanned
Last Updated: 15 Feb 2022 11:08 by Salman

 PdfFormatProvider: When Arial Narrow Bold fond is set in the document the font-weight is lost when converting to PDF.

 

Workaround:

var fontData = File.ReadAllBytes(@"C:\Downloads\arial-narrow\arialnb.ttf");
FontsRepository.RegisterFont(new System.Windows.Media.FontFamily("Arial Narrow"), FontStyles.Normal, FontWeights.Bold, fontData);

Unplanned
Last Updated: 15 Feb 2022 08:58 by Emre

Currently, the text extraction is following the behavior (text distance) as exported with Adobe.

Provide a setting in TextFormatProvider in order to keep the original distance as in the PDF document.

Completed
Last Updated: 16 Feb 2022 13:33 by ADMIN
Release R1 2022 SP1

When exporting PDF documents containing images different than Jpeg and Jpeg2000 the PdfProcessing is using by default the ImageSharp library in order to convert these images to Jpeg.

It seems there is an issue in the older version of the ImageSharp library: Saving a PNG as Jpeg only processes a part of the image on .NET 6.

Workaround: This issue seems to be fixed in the current version (2.0.0) of the ImageSharp library.

Unplanned
Last Updated: 09 Feb 2022 08:22 by Christine
Specific TextFragments that are positioned a little further from the previous text are incorrectly recognized as word start by the text recognizer engine and result in additional white spaces in the exported text.  
Completed
Last Updated: 14 Feb 2022 12:23 by ADMIN
Release LIB 2022.1.221 (21 Feb 2021)
NullReferenceException when converting nested tables to PDF and the vertical alignment is set.
Completed
Last Updated: 16 Feb 2022 15:37 by ADMIN
Release R1 2022 SP1
The block measures with high bigger than expected. This is a regression introduced in version 2022.1.106.
Duplicated
Last Updated: 28 Mar 2023 08:29 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.

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

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

 

Duplicated
Last Updated: 08 Feb 2022 13:02 by ADMIN
Exporting nested tables causes wrong table row heights.
Unplanned
Last Updated: 25 Jan 2022 11:15 by ADMIN
Created by: Rick
Comments: 0
Category: PdfProcessing
Type: Feature Request
0
Users should be able to copy a table row and add this copy to another table.
Completed
Last Updated: 15 May 2024 06:30 by ADMIN
Release 2024.2.426 (2024 Q2)
A dictionary with an invalid entry cannot be imported correctly and breaks the import process. 
Completed
Last Updated: 07 Feb 2022 13:57 by ADMIN
Release R1 2022 SP1

URI Action with invalid mailto URL scheme - mailto:***@***.**(E-mail) can be imported but trying to merge or clone the document throws UriFormatException: 'Invalid URI: The hostname could not be parsed.'

Workaround: Remove the annotations that contain invalid Uri:

PdfFormatProvider provider = new PdfFormatProvider();
this.pdfDocument = provider.Import(memory);

foreach (var page in this.pdfDocument.Pages.ToList())
{
    List<Link> links = page.Annotations.Where(a => a.Type == AnnotationType.Link).Select(a => a as Link).ToList();
    foreach (var link in links)
    {
        Uri uri;
        UriAction uriAction = link.Action as UriAction;

        try
        {
            uri = uriAction.Uri;
        }
        catch (UriFormatException)
        {
            page.Annotations.Remove(link);
        }
    }
}

Unplanned
Last Updated: 20 Jan 2022 08:15 by ADMIN
The classes are not correctly imported and applied from HTML when declared in a CSS style
Unplanned
Last Updated: 20 Jan 2022 08:12 by ADMIN
Created by: Lauren
Comments: 0
Category: PdfProcessing
Type: Bug Report
2

list-style is not imported correctly when importing from CSS classes defined in the same file

Case 1: importing from CSS classes defined in the same file

Case 2: inline style

<html>
<head>
</head>
<body>
<p>This is an unordered list with list-style:none</p>
<ul>
<li style="list-style:none;">Item 1</li>
<li style="list-style:none;">Item 2</li>
</ul>
<p>This is an unordered list with list-style:disc</p>
<ul>
<li style="list-style:disc;">Disc Item 1</li>
<li style="list-style:disc;">Disc Item 2</li>
<li>Some nested list </li>
</ul>
</body>
</html>

 

Unplanned
Last Updated: 10 Jan 2022 11:35 by ADMIN

When exporting a specific document with a CIDFontType0 font (Korean TAWBUL+HGGGothicssiP80g or BPRSCV+HGGGothicssiP60g) the document is wrongly exported which leads to missing content.

Workaround:
After import you can change the font:

pdfDocument = provider.Import(memory);

FontBase malgunGothicFont;
FontsRepository.TryCreateFont(new FontFamily("Malgun Gothic"), out malgunGothicFont);

foreach (RadFixedPage page in pdfDocument.Pages)
{
	foreach (ContentElementBase element in page.Content)
	{
		TextFragment textFragment = element as TextFragment;
		if (textFragment != null && (textFragment.Font.Name == "TAWBUL+HGGGothicssiP80g" || textFragment.Font.Name == "BPRSCV+HGGGothicssiP60g"))
		{
			textFragment.Font = malgunGothicFont;
		}
	}
}

Unplanned
Last Updated: 21 Dec 2021 10:19 by ADMIN
Created by: Dmitry
Comments: 0
Category: PdfProcessing
Type: Feature Request
0
Add support for Ghost signature algorithms (GOST3411_2012_256 and GOST_R3411_12_512 hash algorithms (OID 1.2.643.7.1.1.2.2 and OID  1.2.643.7.1.1.2.3)) 
Duplicated
Last Updated: 17 Dec 2021 08:14 by ADMIN
Created by: David
Comments: 1
Category: PdfProcessing
Type: Feature Request
2

Currently, a known limitation is:

  • RadPdfProcessing currently supports only signing of a single signature field. Signing more than one signature field will result in invalidation of all signatures except the last one.

Please support signing multiple signature fields. We are heading into 2022 and it's more essential than ever to be able to sign multiple signature fields.

Unplanned
Last Updated: 06 Dec 2021 14:26 by ADMIN
ADMIN
Created by: Tanya
Comments: 0
Category: PdfProcessing
Type: Feature Request
4
This type of shading is not supported in the current version and a NotSupportedException is thrown when importing documents containing it.

The exception can be suppressed using the Exception Handling mechanism of PdfProcessing.

Unplanned
Last Updated: 06 Dec 2021 09:42 by ADMIN

When importing a document containing text fragment with a wrong Type3 font set the glyph cannot be obtained from the font and an exception is thrown: System.InvalidOperationException: 'Cannot create glyph with charcode: <<>>'

Completed
Last Updated: 08 Feb 2022 14:06 by ADMIN
Release R1 2022 SP1

When the Font`s Widths array contains entries defined as Indirect references an exception is thrown: System.ArgumentException: 'The IndirectReference type cannot be converted to a real numeric value.'

According to the Pdf Specification: The glyph widths are measured in units in which 1000 units corresponds to 1 unit in text space.

Completed
Last Updated: 20 Jan 2022 08:15 by ADMIN
Release R1 2022
Created by: Rick
Comments: 0
Category: PdfProcessing
Type: Feature Request
0
Expose a way to get the actual font name. Currently, only the subset name is available.