I have a silverlight/wcf application that uses Telerik reporting. One of the requirements of the app is to be able to combine multiple reports into a single pdf. In order to do this, I have a custom report service class that inherits from ReportServiceBase. The silverlight app passes a list of report names to the wcf service, which loops through the list and calls the report service's Render("PDF", etc...) method. In order to keep the file size small, I set FontEmbedding to None in the Render call's deviceInfo. Using the DocumentBytes from each RenderingResult, I append each pdf into a single pdf using a third party tool (PDFSharp). The bytes of the single pdf are then sent back to the silverlight side, where they're loaded into a RadPdfViewer, where users can then save the pdf (using the method described here: http://www.telerik.com/community/forums/silverlight/pdfviewer/save-pdf-file.aspx)
All of this works as expected, except that the resulting pdf is using Identity-H font encoding and a TrueType (CID) font. If I create (roughly) the same pdf using another tool (PDFXchange), the resulting pdf has WinAnsiEncoding and a TrueType font (not CID). When viewing the resulting pdfs on an iPad, the Telerik rendered pdf doesn't display italics or bold, whereas the non-Telerik pdf does. The font encoding is the only readily apparent difference between the two pdfs, which leads me to believe that's the issue (Note: The issue still occurs if I just render a single report and don't use the third party tool to merge, so it's not an issue with the third party tool).
Is there a way to change the font encoding used by the Telerik report service Render method? Or any other thoughts as to why an iPad can't display bold/italic fonts in a pdf generated in this manner?
All of this works as expected, except that the resulting pdf is using Identity-H font encoding and a TrueType (CID) font. If I create (roughly) the same pdf using another tool (PDFXchange), the resulting pdf has WinAnsiEncoding and a TrueType font (not CID). When viewing the resulting pdfs on an iPad, the Telerik rendered pdf doesn't display italics or bold, whereas the non-Telerik pdf does. The font encoding is the only readily apparent difference between the two pdfs, which leads me to believe that's the issue (Note: The issue still occurs if I just render a single report and don't use the third party tool to merge, so it's not an issue with the third party tool).
Is there a way to change the font encoding used by the Telerik report service Render method? Or any other thoughts as to why an iPad can't display bold/italic fonts in a pdf generated in this manner?