Completed
Last Updated: 14 Jun 2021 11:47 by ADMIN
Release R2 2021 SP1
The current implementation relies on valid cross-reference table offsets in the PDF documents so that PDF objects are easily found and parsed. However, a mechanism for importing documents with invalid cross-reference table offsets may be implemented.

The attached project shows how to repair such documents.
Completed
Last Updated: 27 May 2021 11:54 by ADMIN
Release LIB 2021.2.531 (31/05/2021)
This is not a valid PDF scenario as having appearance state requires having multistate appearances. However, we should handle this invalid document scenario on our side so that the app does not crash with NullReferenceException.
Completed
Last Updated: 27 May 2021 10:11 by ADMIN
Release LIB 2021.2.531 (31/05/2021)
When there is no ToUnicode CMap, the text from the Simple Font instance should be extracted by mapping the glyph name to its corresponding charcode according to Adobe Glyph List. Additionally, the Differences array should be included in these calculations when there is custom encoding. The current implementation of RadPdfViewer makes ToString to the original char id byte value which leads to wrong characters. 
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.
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
Completed
Last Updated: 29 Mar 2021 14:23 by ADMIN
Release LIB 2021.1.504 (05/04/2021)
Currently, when we parse inline image dictionaries we rely on the assumption that the colorspace will be PdfName. However, there are files with complex colorspaces that are PdfArray and InvalidCastException is thrown. All the content after this exception is lost and not visualized by RadPdfViewer.
Completed
Last Updated: 26 Mar 2021 11:55 by ADMIN
Release R2 2021
ADMIN
Created by: Tanya
Comments: 0
Category: PDFViewer
Type: Feature Request
3
Add support for Lab color space. Currently alternate color is used to render the pixels, which may result in incorrect colors.
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: 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: 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.
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: 21 Jan 2021 09:25 by ADMIN
Release R1 2021
In specific occasions, when starting multiple background threads to import documents, an InvalidOperationException might be thrown saying "Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct." This issue is pretty hard to reproduce. 
Completed
Last Updated: 21 Jan 2021 09:25 by ADMIN
Release R1 2021
ADMIN
Created by: Boby
Comments: 0
Category: PDFViewer
Type: Bug Report
1
Even small documents (~30 kb) containing images encoded with CCITTFaxDecode filter can take about 10 seconds to be opened. In 2014 Q1 SP1 such documents load faster.
Completed
Last Updated: 20 Jan 2021 12:30 by ADMIN
Release R1 2021
ADMIN
Created by: Deyan
Comments: 5
Category: PDFViewer
Type: Feature Request
35
Implement import of documents containing Type 3 fonts.
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.
Completed
Last Updated: 09 Dec 2020 12:52 by ADMIN
Release LIB 2020.3.1214 (07/14/2020)
This exception seems to be caused because the stream is not decrypted correctly and the stream data is corrupted. For instance when the stream is with FlateDecode filter the exception is InvalidDataException with message "Unknown compression method".
Completed
Last Updated: 01 Dec 2020 12:59 by ADMIN
Release LIB 2020.3.1207 (07/12/2020)

When we render any PDF file with 'x' number of page count and try to enter page 'x+1' in telerik:CurrentPageTextBox and hit enter, it will enable the Previous Page RadButton and if we click Previous Page then it will freeze the application.

System.ArgumentOutOfRangeException: 'pageNo should be greater or equal than 1 and less or equal than 4. (Parameter 'pageNo')'

Workaround: A possible approach could be to attach to the CurrentPageTextBox` KeyDown event in order to restrict the input.

XAML: 

<telerik:CurrentPageTextBox x:Name="PART_CurrentPageNumberTextBox" 
							KeyDown="PART_CurrentPageNumberTextBox_KeyDown"
							Text="{Binding FixedDocumentViewer.CurrentPageNumber, Mode=TwoWay}"/>
Code-behind:

private void PART_CurrentPageNumberTextBox_KeyDown(object sender, System.Windows.Input.KeyEventArgs e)
{
	TextBox textBox = sender as TextBox;
	if (textBox != null)
	{
		if (e.Key == System.Windows.Input.Key.Enter)
		{
			int pagesCount = this.pdfViewer.PagesCount;
			int currentPageNumber = this.pdfViewer.CurrentPageNumber;
			if (this.pdfViewer.Document != null && (currentPageNumber < 1 || currentPageNumber > pagesCount))
			{
				RadFixedPage currentPage = this.pdfViewer.CurrentPage;
				int pageNum = this.pdfViewer.Document.Pages.IndexOf(currentPage) + 1;
				this.pdfViewer.CurrentPageNumber = pageNum;
			}
		}
	}
}

Completed
Last Updated: 27 Nov 2020 13:55 by ADMIN
Release LIB 2020.3.1130 (30/11/2020)
When modifying Interactive Forms TextBoxField's value the entered changes are preserved after is clicked out of the TextBoxField's editing area. However the changes are not applied when the click is performed on the save button.

As possible workaround you can raise a MouseLeftButtonDown event on the RadPdfViewer and after this execute the SaveAsCommand. For example:

private void SaveButton_Click(object sender, RoutedEventArgs e)
{
    MouseButtonEventArgs mouseEventArgs = new MouseButtonEventArgs(Mouse.PrimaryDevice, 0, MouseButton.Left)
    {
        RoutedEvent = FrameworkElement.MouseLeftButtonDownEvent
    };
 
    ((FrameworkElement)this.pdfViewer.FixedDocumentPresenter).RaiseEvent(mouseEventArgs);
    this.pdfViewer.CommandDescriptors.SaveAsCommandDescriptor.Command.Execute(null);
}
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).