Hello,
A while back I requested the ability to embed fonts when exporting from a RichTextEditor to pdf. Eventually this functionality was added (thank you for that!), but in my current use case it's causing pdf filesizes to be extremely large compared to the workaround solution I've initially implemented. I was wondering if anyone at Telerik would have an idea on the differences between the two methods and why one is much larger than another.
Use case info:
I'm required to take the output from a bunch of RichTextEditors, export each one to a pdf and then merge those individual pdfs into a larger one. By using the PdfFormatProvider, this causes fonts to be embedded multiple times in the merged pdf (and makes the filesize really large).
However, before this functionality, Telerik recommended a workaround to get fonts embedded that takes the content from the the RichTextEditor into a docx file, then imported back in and exported to a pdf. This was a hacky workaround that causes some formatting issues, but actually embedded the font and didn't balloon the filesize.
(for details on the workaround, it was recommended in this thread: http://www.telerik.com/forums/embedding-fonts-in-pdf-output)
Is there anyway to make the proper pdf export provider work similar to the one in the workaround? Using the correct export provider fixes a bunch of my issues, but the duplicate embedded fonts causing large file size is a dealbreaker unfortunately.
Thanks!
-Tom