Completed
Last Updated: 17 Sep 2019 07:30 by ADMIN
Release R3 2019
ADMIN
Deyan
Created on: 26 Apr 2016 12:10
Category: PdfProcessing
Type: Feature Request
8
PdfProcessing: Import and export of ToUnicode CMap
Add support for ToUnicode CMap stream.

A side effect of not supporting it is the following: exporting PDF document which, for example, contains German umlauts, to plain text, leads to wrong characters in the resulting text.

As possible workaround, the PdfFormatProvider instance of RadPdfViewer can be used to import the document. For example:

FormatProviderSettings settings = new FormatProviderSettings(ReadingMode.OnDemand);
PdfFormatProvider pdfViewerFormatProvider = new PdfFormatProvider(stream, settings);
 
RadFixedDocument document = pdfViewerFormatProvider.Import();
 
TextFormatProvider textFormatProvider = new TextFormatProvider();
String text = textFormatProvider.Export(document);
0 comments