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

Unplanned
Last Updated: 05 Nov 2020 12:18 by ADMIN
Expose event that allow on to track if the rotation is changed
Completed
Last Updated: 02 Nov 2020 12:00 by ADMIN
Release LIB 2020.3.1102 (02/11/2020)
When importing a document containing an image with ICC Based colorspace and the Alternate colorspace property is null, a NullReferenceException is thrown, which leads to a missing image in RadPdfViewer.
Unplanned
Last Updated: 29 Oct 2020 09:22 by ADMIN
PdfViewer: Show the DropDownList icon when the document contains ComboBox field
Completed
Last Updated: 26 Oct 2020 07:14 by ADMIN
Release LIB 2020.3.1026 (26/10/2020)
Instances of RadFixedDocument and PdfFormatProvider are kept in memory by a WPF internal collection (_sizeChangedChain).
Unplanned
Last Updated: 12 Oct 2020 06:56 by ADMIN
Created by: D.Scaccabarozzzi
Comments: 0
Category: PDFViewer
Type: Feature Request
3
From the PDF specification: PDF 1.6 introduces the capability for collections of three-dimensional objects, such as those used by CAD software, to be embedded in PDF files. Such collections are often called 3D models; in the context of PDF, they are referred to as 3D artwork.
Completed
Last Updated: 09 Oct 2020 13:18 by ADMIN
Release LIB 2020.3.1012 (12/10/2020)

When importing a PDF document, opening the stream in using statement, and using the default constructor of the PdfDocumentSource class, an exception is thrown:

using (Stream stream = ofd.OpenFile())
{
	this.pdfViewer.DocumentSource = new PdfDocumentSource(stream);
}
Workaround: provide an implementation of PdfImportSettings with CopyStream set to true:
using (Stream stream = ofd.OpenFile())
{
	PdfImportSettings importSettings = new PdfImportSettings
	{
		CopyStream = true
	};

	this.pdfViewer.DocumentSource = new PdfDocumentSource(stream, importSettings);
}

Completed
Last Updated: 29 Sep 2020 13:15 by ADMIN
Release LIB 2020.3.1005 (05/10/2020)
Exception when importing text fragments with no text 
Completed
Last Updated: 29 Sep 2020 12:45 by ADMIN
Release LIB 2020.3.1005 (05/10/2020)
When importing a document containing an ICCBased color space an exception is thrown.
Completed
Last Updated: 16 Sep 2020 12:37 by ADMIN
Release R3 2020
The offset of the CropBox is not respected and is always treated as 0.

Workaround: Import the document with PdfProcessing, change the CropBox offsets of the pages to 0, export the modified document and then import it in PdfViewer.
Completed
Last Updated: 16 Sep 2020 12:36 by ADMIN
Release R3 2020
The stroke is not rendered when the text is in XForm
Completed
Last Updated: 16 Sep 2020 12:34 by ADMIN
Release R3 2020
This is caused by an incorrect order of applying the TextMatrix and the glyph stroking operation.
Completed
Last Updated: 16 Sep 2020 12:34 by ADMIN
Release R3 2020
The EI keyword defines an operator for ending the image data. When the stream contains the same sequence, the parser treats that as an end of the image data. As a result, the image and the following content cannot be properly parsed and there is missing content when the document is visualized.
Completed
Last Updated: 16 Sep 2020 12:18 by ADMIN
Release R3 2020
Loading document containing link with no destination leads to ArgumentNullException in PdfElementToFixedElementTranslator.CreateDestination method.
Completed
Last Updated: 16 Sep 2020 12:18 by ADMIN
Release R3 2020
ADMIN
Created by: Tanya
Comments: 0
Category: PDFViewer
Type: Feature Request
0
This is Unicode (UTF-16BE) encoding for the Adobe-GB1 character collection; contains mappings for all characters in the GB18030-2000 character set.

Described on page 443 in Pdf Reference 1.7.
Completed
Last Updated: 16 Sep 2020 12:17 by ADMIN
Release R3 2020
ADMIN
Created by: Tanya
Comments: 0
Category: PDFViewer
Type: Feature Request
1
Implement import and export of content with Type0Font with GBK-EUC-H encoding.
Unplanned
Last Updated: 09 Sep 2020 12:09 by ADMIN

Hello,

We are using PdfViewer and its command descriptor.

Right now, I don't find how to set the name of the file being saved. In my humble opinion, the command parameter should be the fileName of the PDF being exported.

The documentation doesn't tell how to set the fileName which is a basic thing to do for a save file command.

I didn't find a solution in the forum. Weird nobody ever talked about it.

Thanks for evaluating this feedback

Unplanned
Last Updated: 25 Aug 2020 10:10 by ADMIN
This exception is observed only on a 32-bit platform (not on 64-bit).
Completed
Last Updated: 21 Aug 2020 07:45 by ADMIN
Release LIB 2020.2.824 (24/08/2020)
NullReferenceException is thrown when importing a document with AcroForm referencing a missing object for fields collection. This is a regression as the same document will be imported without a problem in previous versions of RadPdfViewer as the AcroForm object would be entirely skipped.
Unplanned
Last Updated: 13 Aug 2020 16:59 by ADMIN
Importing a document, which contains pages with many geometries - such as paths, lines, and curves leads to degraded scrolling performance.