Completed
Last Updated: 06 Feb 2016 08:48 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 09 Oct 2015 07:18
Category: RichTextEditor
Type: Bug Report
2
FIX. RadRichTextEditor - custom fonts are not embedded to the exported file when using PdfFormatProvider
To reproduce:

1. Install a font that is not part of the default ones.
2. Enter some text in RadRichTextEditor and use the installed font.
3. Export to pdf.
4. Uninstall the font.
5. Try to open the exported pdf. You will notice that the font is not embedded into the file and can not render the text correctly. Please refer to the attached sample pdf file with custom font.
5 comments
ADMIN
Stefan
Posted on: 01 Feb 2016 08:31
Hi Tom,

we are currently looking into this case and we will update the item once we have more information about it. 
Tom
Posted on: 26 Jan 2016 18:56
Is there any chance of getting an update on when this can be fixed? This is turning out to be a major problem for our clients that are heavily relying on viewing our pdf output on mobile devices and absolutely need the fonts embedded. We have implemented the workaround suggested above, but doing the multiple format conversions ends up causing us a lot of problems in the output that have been a nightmare to deal with.
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 26 Oct 2015 15:41
The possible solution that I can suggest is to export the RadRixhTextEditor's content to a docx file. Afterwards, use the RadWordsProcessing library to import the file and export it to a pdf. You can refer to the following links related to this topic:
1. Export RadRichTextEditor's content to docx: http://www.telerik.com/help/winforms/richtexteditor-import-export.html
2. Import the docx file: http://www.telerik.com/help/winforms/wordsprocessing-formats-and-conversion-docx-using-docxformatprovider.html
3. Export to pdf with embedded font: http://www.telerik.com/help/winforms/wordsprocessing-formats-and-conversion-docx-using-pdfformatprovider.html
Alexandre
Posted on: 15 Oct 2015 14:41
I've managed to find this article in the telerik documentation but idk if it can be used for this issue.. I've the same problem on my side
http://www.telerik.com/help/winforms/pdfprocessing-concepts-fonts.html

But it seems complicated, compared to the easy way to use a custom font in the radrichtexteditor
Tom
Posted on: 09 Oct 2015 14:28
Please note that this isn't just custom fonts. No fonts are embedded in the pdf output so certain mobile devices and printers have problems reading them. Please add a way for us to embed fonts into the pdf output.