Completed
Last Updated: 05 Oct 2021 07:41 by Dennis
Release LIB 2021.3.1011 (11 Oct 2021)
Dennis
Created on: 29 Sep 2021 15:18
Category: PdfProcessing
Type: Bug Report
1
PdfProcessing: InvalidCastException is thrown when importing a document containing a CIDFont with default width (DW) set as PdfReal (double)

When importing a document containing a CIDFont with default width (DW) set as PdfReal (double) an exception is thrown: System.InvalidCastException: 'Unable to cast object of type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfReal' to type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfInt'.'

44 0 obj
<< /BaseFont /NotoSansMono-Medium /CIDSystemInfo << ... >> /CIDToGIDMap /Identity /DW 600.00000 ... /Subtype /CIDFontType2 /Type /Font >>
endobj

According to the PDF Specification: DW - integer - (Optional) The default width for glyphs in the CIDFont. Default value: 1000.

2 comments
Dennis
Posted on: 05 Oct 2021 07:41
Thank you very much
ADMIN
Peshito
Posted on: 05 Oct 2021 07:28

Hello,

This item will be available in R3 2021 SP1 Release. 

It is also available with Telerik UI for WPF's latest internal build - LIB 2021.3.1011 (11 Oct 2021) if you need it earlier. 

Regards,
Peshito
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.