Approved
Last Updated: 21 Sep 2018 13:39 by Georgi
When a ToUnicode CMap is defined for Simple Font (TrueType or Type1 font) which maps font character codes to two or more Unicode character values, the extracted text should contain the whole set of characters defined in the mappings. The current implementation of RadPdfViewer takes the first character specified in the ToUnicode mapping which leads to missing characters.
Approved
Last Updated: 23 Jul 2018 10:10 by ADMIN
It seems that the glyph outlines are rendered wrong for some specific CFF font files. For instance, the issue is reproducible with "Aleo-Light" font.
Approved
Last Updated: 15 Mar 2019 07:13 by ADMIN
When importing document containing a destination which points to invalid page reference, KeyNotFoundException is thrown.
Approved
Last Updated: 16 Jul 2018 07:47 by Georgi
When the Interactive Form Fields are in read-only mode, the user should not be able to change the value of the field. The associated Form Field widgets should not interact with the user, e.g. they should not respond to mouse clicks or change their appearance in response to mouse motions.
Approved
Last Updated: 22 Jun 2018 12:56 by Georgi
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);
}
Approved
Last Updated: 19 Jun 2018 13:42 by ADMIN
When Find Next is used multiple times fast, and pages are still loaded asynchronously, sometimes NullReferenceException is thrown with the following call stack:

System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.Windows.Documents.Fixed.Text.TextRecognizer.GetLastCharacter()
   at Telerik.Windows.Documents.Fixed.Text.TextRecognizer.IsLineBreak(Glyph glyph)
   at Telerik.Windows.Documents.Fixed.Text.TextRecognizer.ProcessGlyph(Glyph glyph)
   at Telerik.Windows.Documents.Fixed.Text.TextRecognizer.CreateTextPage(RadFixedPageInternal page)
   at Telerik.Windows.Documents.Fixed.Text.TextDocument.GetTextPage(Int32 index)
   at Telerik.Windows.Documents.Fixed.Search.KMPTextSearch.FindNext(TextDocument document, TextPosition startPosition, String searchText, Boolean matchCase, Boolean wholeWordsOnly)
   at Telerik.Windows.Documents.Fixed.Search.TextSearch.Find(String text, TextSearchOptions options)

...
Approved
Last Updated: 01 Jun 2018 12:54 by ADMIN
The issue is reproducible only on Windows XP. On newer versions of windows, the images are rendered as expected.

WORKAROUND: You may inherit DctDecode class in order to implement custom decoder. For instance, you may try calling DecodeWithJpegDecoder method from the base class as mentioned in the note of this documentation article:

http://docs.telerik.com/devtools/wpf/controls/radpdfviewer/customization-and-extensibility/customize-pdf-rendering

A sample implementation of these custom decoder may be seen below:

public class CustomDctDecode : DctDecode
{
    public override byte[] Decode(PdfObject decodedObject, byte[] inputData, DecodeParameters parms)
    {
        return DecodeWithJpegDecoder(inputData);
    }
}
Approved
Last Updated: 18 Mar 2019 08:39 by ADMIN
This is reproducible for images with FlateDecode and predictor value in the range between 10 and 15. As an example you may take a look at the DecodeParms property in the following image PDF dictionary:

<< /BitsPerComponent 8 /ColorSpace /DeviceRGB /DecodeParms << /BitsPerComponent 8 /Colors 3 /Columns 1024 /Predictor 15 >> /Filter /FlateDecode /Height 2868 /Subtype /Image /Type /XObject /Width 1024 /Length 1236707 >>
Approved
Last Updated: 07 Mar 2019 16:39 by ADMIN
This is caused by an incorrect order of applying the TextMatrix and the glyph stroking operation.
Approved
Last Updated: 18 May 2018 14:17 by Georgi
When ScaleMode is set to FitToPage scrolling the Mousewheel or pressing the Arrow Down button does not produce immediate scroll. The page is scrolled to the next page after several scroll events/button presses are introduced.

Workaround: Provide custom ScrollCommand implementation.
Approved
Last Updated: 14 May 2018 17:07 by Georgi

This is reproducible when the matched result resides on different page. Workaround: You may subscribe to the RadFixedDocument.CaretPosition.PositionChanged event and implement the scroll logic. Subscribe to PdfViewer's DocumentChanged event first if the document is not loaded.

        private void CaretPosition_PositionChanged(object sender, EventArgs e)
        {
            Telerik.Windows.Documents.Fixed.Model.RadFixedPage currentPage = this.pdfViewer.Document.CaretPosition.Page;
            int pageIndex = this.pdfViewer.Document.Pages.IndexOf(currentPage);
            this.pdfViewer.GoToPage(pageIndex + 1);
        }

Approved
Last Updated: 12 Mar 2018 09:31 by ADMIN
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.
Approved
Last Updated: 10 Jan 2018 12:00 by ADMIN
This exception seems to be related to AES algorithm PaddingMode property. 
Approved
Last Updated: 10 Jan 2018 11:59 by ADMIN
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".
Approved
Last Updated: 02 Jan 2018 14:10 by ADMIN
Setting Handle property to false should result in rethrowing the exception and interrupting current RadFixedDocument rendering. This is related to Exception Handling Mechanism mentioned in this documentation article: 

https://docs.telerik.com/devtools/wpf/controls/radpdfviewer/document-model/exceptionhandling
Approved
Last Updated: 18 Oct 2017 09:54 by ADMIN
When a page is rotated its annotations are not positioned correctly. 
Approved
Last Updated: 17 Oct 2017 11:50 by ADMIN
FixedDocumentSinglePagePresenter uses simple rendering mechanism using UIElements, which currently has some limitations:
- Layers are not supported, thus annotations and forms are not rendered (even read-only)
- UIElements could be affected (clipped) when UseLayoutRounding property set at parent level, when DPI is different that 96 DPI. 

Workaround: If content is clipped, ensure that UseLayoutRounding is set to false as presenter level:
<telerikUI:FixedDocumentSinglePagePresenter UseLayoutRounding="False" />
Approved
Last Updated: 13 Oct 2017 14:09 by ADMIN
The images are loaded asynchronously and when scrolling too fast, the loader might fail to load an image if it is bigger.
Approved
Last Updated: 10 Aug 2017 13:11 by ADMIN
The UserDict collection is not parsed and the procedures for the operators are unavailable. The exception is thrown while trying to read the font file of the Univers and Univers Bold fonts.

Internally, an ArgumenNullException is thrown, which results in missing content when the document is shown in RadPdfViewer.
Approved
Last Updated: 04 Aug 2017 13:57 by ADMIN
ADMIN
Created by: Deyan
Comments: 0
Category: PDFViewer
Type: Bug Report
0
This may result in seeing the pattern as a solid color or even not seeing it at all if this color is white and coincides with the background of the page.