Last Updated: 06 Feb 2016 08:48 by ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 09 Oct 2015 07:18
Category: RichTextEditor
Type: Bug Report
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.
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
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. 
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.
Dess | Tech Support Engineer, Sr.
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:
2. Import the docx file:
3. Export to pdf with embedded font:
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

But it seems complicated, compared to the easy way to use a custom font in the radrichtexteditor
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.