Unplanned
Last Updated: 07 Mar 2022 09:01 by Ludivine

According to the PDF SpecificationThe first entry in the table (object number 0) is always free and has a generation number of 65,535;

An invalid xref table:

xref
1 3
0000000010 00000 n
0000000124 00000 n
0000011290 00000 n
A valid one:
xref
0 4
0000000000 65535 f
0000000010 00000 n
0000000124 00000 n
0000011290 00000 n

Unplanned
Last Updated: 24 Feb 2022 07:38 by Fritz
Created by: Fritz
Comments: 0
Category: PdfProcessing
Type: Feature Request
1
LaTeX is a high-quality typesetting system; it includes features designed for the production of technical and scientific documentation.
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.
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: 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);

Completed
Last Updated: 15 Feb 2022 09:26 by ADMIN
Release R1 2022 SP1
This would allow to encrypt documents only with Owner Password and not showing password dialog when disabling some PDF features permissions. The customer should be able to disable printing, text and graphic selection and extraction, page rotations and others. The full specification of all permission bits may be seen in Table 3.20 on page 124 in PdfReference 1.7. On page 120 in PdfReference 1.7 are described the User and Owner passwords.
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: 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: 09 Feb 2022 13:00 by ADMIN
Release R1 2022 SP1

When importing a not embedded TrueType Font defined as Type 1 subtype Font an InvalidCastException is thrown.

In PDF document:

<< /BaseFont /Arial /Encoding 21 0 R /Name /F13 /Subtype /Type1 /Type /Font >>

In Adobe Reader:

Completed
Last Updated: 09 Feb 2022 09:36 by ADMIN
Release R1 2022 SP1
Created by: Rick Kauwen
Comments: 17
Category: PdfProcessing
Type: Feature Request
18
This feature is currently supported only for .NET Framework and WPF .NET Core for Windows assemblies.
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: 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.

Duplicated
Last Updated: 08 Feb 2022 13:02 by ADMIN
Exporting nested tables causes wrong table row heights.
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);
        }
    }
}

Completed
Last Updated: 02 Feb 2022 12:27 by ADMIN
Release R1 2022 SP1
ADMIN
Created by: Tanya
Comments: 9
Category: PdfProcessing
Type: Feature Request
27

Currently, NotSupportedException is thrown when trying to import a document that uses Type 3 fonts.

Update: With Release R1 2021 the import of Type 3 fonts is already developed but the export is still not supported.

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.
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
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.
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;
		}
	}
}