Hello,
When opening this document (see attached), PDF viewer crashes with following exception.
To reproduce, open this document in the Pdf Viewer WinForms example, latest version.
Screenshot attached.
************** Exception Text **************
System.InvalidCastException: Unable to cast object of type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfHexString' to type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfLiteralString'.
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.ExceptionHandling.ExceptionHandler.TryHandle(Exception exception)
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.PageContentManager.LoadPageContent(RadFixedPage fixedPage)
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.ThreadSafePageContentManager.LoadPageContent(RadFixedPage page)
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.LoadOnDemandPagesCacheManager.LoadPage(RadFixedPage page)
at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.LoadOnDemandPagesCacheManager.BeginUsingPage(RadFixedPage page)
at Telerik.Windows.Documents.Fixed.Text.TextPageProvider.CreateTextPage(RadFixedPage fixedPage, TextDocument parent)
at Telerik.Windows.Documents.Fixed.Text.TextDocument.CreateTextPage(Int32 index)
at Telerik.Windows.Documents.Fixed.Text.TextDocument.GetTextPage(Int32 index)
at Telerik.WinControls.PdfViewer.MouseHandlers.SelectionHandler.Initialize(RadFixedDocument document)
at Telerik.WinControls.PdfViewer.MouseHandlers.MouseHandlersController.InitializeHandlers(RadFixedDocument document)
at Telerik.WinControls.UI.RadPdfViewerElement.documentLoader_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)