Unplanned
Last Updated: 16 Apr 2021 12:04 by ADMIN
Exception if pdf has different orientations and the thumbnails are used
Completed
Last Updated: 19 Apr 2021 10:56 by ADMIN
Release LIB 2021.1.419 (19/04/2021)
When the Text Rise ("Ts") operator is set the text baseline is moved in the opposite direction according to its default location.
BT 48 819.32 Td -16.6 Ts (Some text to display) Tj ET
Unplanned
Last Updated: 25 Mar 2021 07:55 by ADMIN

According to the PDF specification (AdobeĀ® Portable Document Format Version 1.7):
Append a rectangle to the current path as a complete subpath, with lower-left corner (x, y) and dimensions width and height in user space.

The operation: 

x y width height re

An invalid case:

0 - 595 -842 re

This leads to an exception thrown: System.NullReferenceException: 'Object reference not set to an instance of an object.'

Completed
Last Updated: 03 May 2021 07:15 by ADMIN
Release LIB 2021.1.329 (29/3/2021)
Invalid character rendering due to the glyphs caching.
Unplanned
Last Updated: 05 Mar 2021 12:09 by ADMIN
According to the PDF specification: Codes are never longer than 12 bits; therefore, entry 4095 is the last entry of the LZW table.
Completed
Last Updated: 22 Feb 2021 14:59 by ADMIN
Release R1 2021 SP1
When importing a document containing a specific image encoded with JBIG2Decode an exception is thrown.
Unplanned
Last Updated: 23 Jun 2022 08:13 by ADMIN
Handle the cases when the page is rendered slowly and the document appears empty
Completed
Last Updated: 05 Mar 2021 12:46 by ADMIN
Release LIB 2021.1.309 (9/3/2021)
Created by: Daniel
Comments: 2
Category: PDFViewer
Type: Bug Report
0

Hi Telerik Support

We use your Telerik PDF-Viewer since your last Version "UI for WPF R1 2021" which supports Type 3 fonts.
Now the version runs productive by our customers. But after a day, they found some special PDFs that doesn't work quite right with your PDF-Viewer.

In the appendix you will find the PDf-Files as samples for the bugs that i'm describing.
Because of data privacy, the PDF-Files are cutted and cropped.
Also a demo project is appended (It could also be reproduced with the demo Progress Telerik WPF UI for th PDF-Viewer).

First Problem: Blank Page

Hint: It seems that only a few PDF-Files from a specific program seems to be a problem.

  1. Open Demo "WpfAppPdfViewer.exe"
  2. Open the file sample_1_blank_page.pdf(see appendix)
  3. You will see only a blank page
  4. Open the same PDF-File in another PDF-Reader like Adobe Reader and you will see a scan with an illegible stamp of an address

Second Problem: Displaying data delayed

  1. Open Demo "Progress Telerik UI for WPF"
  2. Open the file sample_2_delayed_display.pdf (see appendix)
  3. You will see only a blank page
  4. Wait approx. 5-10 sec. and you will see the content of the PDF-File.

I would be glad for a quick possible solution for our customer.

Best regards

Serge Schoop

Completed
Last Updated: 18 Mar 2021 07:17 by ADMIN
Release LIB 2021.1.315 (15/3/2021)
When the image has inverted colors and the color space is of type Separation the document is not decoded correctly and it is rendered with inverted colors.
Completed
Last Updated: 24 Feb 2023 14:34 by ADMIN
Release R1 2023 SP1
GetSubr method of Top class throws an exception when Private property is null.
Completed
Last Updated: 12 Feb 2021 12:45 by ADMIN
Release LIB 2021.1.215 (15/2/2021)
When importing documents with Type 3 fonts and loading them in RadPdfViewer an ObjectDisposedException is thrown leading to blank pages.
Completed
Last Updated: 29 Jan 2021 16:11 by ADMIN
Release LIB 2021.1.201 (1/2/2021)

When importing a document containing Outlines (Bookmarks) containing Actions with an empty dictionary:

<</Title(Bookmarks)/Parent .../First .../Last .../Prev .../A<<>>/Count ...>

leads to an exception thrown: System.MissingMethodException: 'Cannot create an abstract class.'

Completed
Last Updated: 14 Jun 2021 11:56 by ADMIN
Release R2 2021 SP1

From the PDF specification:

Prev(Present only if the file has more than one cross-reference section; must not be an indirect reference) The byte offset from the beginning of the file to the beginning of the previous cross-reference section. 

When importing such a document an exception is thrown: System.ArgumentNullException: 'Value cannot be null.

Unplanned
Last Updated: 16 Dec 2020 14:23 by ADMIN
Created by: Simeon
Comments: 0
Category: PDFViewer
Type: Feature Request
1
Enable the users to draw different shapes on the PDF page.
Completed
Last Updated: 09 Dec 2020 14:58 by ADMIN
Release LIB 2020.3.1214 (07/14/2020)
When importing a document containing two trailers and the encryption object (Encrypt) is part of the fist xref table the document is not successfully decrypted and an exception is thrown.
Unplanned
Last Updated: 26 Nov 2020 07:25 by ADMIN
Provide an event that is fired when all annotations are clicked. Currently, the AnnotationClicked event is not fired for all annotations. Perhaps we can use the same event and add a property that controls for which annotations the vent is fired. 
Completed
Last Updated: 13 Feb 2023 15:36 by ADMIN
Release LIB 2023.1.220 (20 Feb 2023)
When the imported document contains font with embedded CMapFormat0Table an exception is thrown.
Unplanned
Last Updated: 12 Nov 2020 09:10 by ADMIN
Introduce a fallback mechanism for glyphs that cannot be found in the current font 
Unplanned
Last Updated: 10 Nov 2020 15:27 by ADMIN

When extracting text from a composite font the ToUnicode mapping should be used but when this mapping is missing the char codes must be mapped by constructing a secondary map from fonts ordering and registry. 

A possible workaround could be to register a TrueType font using the FontsRepository.RegisterFont() method:

FontsRepository.RegisterFont(new FontFamily(fontName), FontStyles.Normal, FontWeights.Normal, File.ReadAllBytes(pathToFont));
and then to iterate the document content and change the specific font with the registered one:
FontsRepository.TryCreateFont(new FontFamily(fontName), FontStyles.Normal, FontWeights.Normal, out FontBase font);

foreach (RadFixedPage page in document.Pages)
{
	foreach (ContentElementBase contentElement in page.Content)
	{
		if (contentElement is TextFragment textFragment)
		{
			if (textFragment.Font.Name == fontName)
			{
				textFragment.Font = font;
			}
		}
	}
}

Completed
Last Updated: 11 Nov 2020 14:59 by ADMIN
Release LIB 2020.3.1116 (16/11/2020)
Exception when the inline image stream starts on a new row (No imaging component suitable to complete this operation was found).