Completed
Last Updated: 26 Jun 2023 13:51 by ADMIN
Release R2 2023 SP1
When a PDF document contains images compressed with CCITTFaxDecode with applied BlackIs1 parameter, black color is visualized as white and white as black.
Completed
Last Updated: 26 Jun 2023 13:21 by ADMIN
Release R2 2023 SP1
Default DctDecode implementation uses System.Windows.Media.Imaging.BitmapImage in order to get the image pixels. However, when the image uses some complex colorspace (for instance Separation based on CMYK) the BitmapImage is initialized with a different format and we use System.Windows.Media.Imaging.FormatConvertedBitmap in order to get the pixels in CMYK colorspace. There seems to be some issue with these calculations as the resulting image has incorrect pixels.

WORKAROUND: You may inherit DctDecode class in order to implement custom decoder and call 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);
    }
}
Completed
Last Updated: 26 Jun 2023 13:18 by ADMIN
Release R2 2023 SP1
Vertical lines with small length and big thickness are drawn as short horizontal lines with big StrokeThickess. This results in rendering them as big squares, which can hide parts of the content.
Completed
Last Updated: 26 Jun 2023 13:13 by ADMIN
Release R2 2023 SP1
The text appears disordered due to wrong calculations of the glyph geometries.
Completed
Last Updated: 26 Jun 2023 13:07 by ADMIN
Release R2 2023 SP1
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.
Completed
Last Updated: 26 Jun 2023 13:03 by ADMIN
Release R2 2023 SP1
Currently, we have reproduced this issue with fonts AmnestyTradeGothic, OfficinaSanITC and OfficinaSanITC-Book.
Completed
Last Updated: 26 Jun 2023 12:20 by ADMIN
Release LIB 2023.2.703 (03 Jul 2023)
The CIDFont dictionary may contain an array, describing the widths of the glyphs. If the width has a negative value an ArgumentException: 'Width and Height must be non-negative.', is thrown when the document is imported in RadPdfViewer, which leads to application crash.
Completed
Last Updated: 26 Jun 2023 12:15 by ADMIN
Release LIB 2023.2.703 (03 Jul 2023)

When the first symbol in the text string array is empty the text translation is not taken into account.

/f-0-1 1 Tf
[<>-3775<0006>15<000700080002>15<0009>]TJ

This leads to a letter misplacement (too far from each other or overlapping each other).

Completed
Last Updated: 26 Jun 2023 12:00 by ADMIN
Release LIB 2023.2.703 (03 Jul 2023)
DivideByZeroException in ParallelContentElementsPainter when loading a scanned file.
Unplanned
Last Updated: 07 Jun 2023 06:15 by Garrick
Printer change notification handle is being leaked when printing and inspecting with the app verifier.
Completed
Last Updated: 31 May 2023 06:57 by ADMIN
Release LIB 2023.1.612 (12 Jun 2023)

The glyphs are rendered with additional unexpected lines when a specific custom CFF font is used to show them.

Declined
Last Updated: 22 May 2023 09:14 by ADMIN
Created by: Turk
Comments: 0
Category: PDFViewer
Type: Feature Request
0

Hello,

 

I use RadPdfViewer to view a PDF file in my WPF application, the PDF file has only one page and the contents are in the middle of the page, so I'm trying to zoom and focus on the middle of the page, I use the following code:

private void DocumentChanged(object sender, DocumentChangedEventArgs e)
        {
            pdfViewer.ScaleFactor = 1.3;
            var size = pdfViewer.Document.Pages[0].Size;
            pdfViewer.ScrollToVerticalOffset(size.Height * 0.3);
            pdfViewer.ScrollToHorizontalOffset(size.Width * 0.20);
        }

however, I only see the horizontal scroll working.

How can I zoom then scroll to vertical and horizontal offset?

Unplanned
Last Updated: 18 May 2023 09:03 by Muna
Loading the PdfViewer control outputs "Cannot find source for binding with reference 'ElementName=pdfViewer'".
Completed
Last Updated: 18 May 2023 06:50 by ADMIN
Release R2 2023
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 >>
Completed
Last Updated: 17 May 2023 06:31 by ADMIN
Release R2 2023
Completed
Last Updated: 15 May 2023 09:27 by ADMIN
Release R1 2018
Due to excessive memory consumption when decoding images, OutOfMemoryException can be thrown when viewing documents with large images inside them. 

Workarounds: 
- Set ExtensibilityManager.MaxImageSize = null. This will skip one resizing step, and could be beneficial in documents containing few large images.
- Use 64-bit process for the client application. This allows the process to consume much more memory. Note that starting 64-bit process while debugging can be tricky, as described in this blog post: https://weblog.west-wind.com/posts/2016/Dec/19/Visual-Studio-Debugging-and-64-Bit-NET-Applications.

Available in R1 2018 Official release version.
Completed
Last Updated: 11 May 2023 05:47 by ADMIN
Release R2 2023
When importing document with text containing char code mapped to .notdef glyph name an ArgumentException: 'The encoding is not supported.' is thrown.
Completed
Last Updated: 08 May 2023 16:23 by ADMIN
Release R2 2023
Some glyphs are not rendered correctly - the letter are translated or become unrecognizable.
Completed
Last Updated: 08 May 2023 16:19 by ADMIN
Release R2 2023
The glyphs are rendered with additional unexpected lines when a specific custom Type 1 font is used to show them.
Completed
Last Updated: 08 May 2023 14:33 by ADMIN
Release R2 2023
An exception is thrown when importing documents with no page contents but only AcroForms.