This is a migrated thread and some comments may be shown as answers.

RadDocument Font Family to PDF

3 Answers 85 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Reinier
Top achievements
Rank 1
Reinier asked on 28 Jul 2014, 03:48 PM
I have other problem I need export one raddocument to pdf file, I do this but when I change the font family on raddocument the pdf file don't have the same font family always is the same font for pdf. I can export the raddocument font family to the pdf file.
Thanks

3 Answers, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 30 Jul 2014, 03:55 PM
Hi Reinier,

When exporting a document to PDF, the fonts that are used in it need to be embedded in the document to ensure proper results when the PDF is loaded in a viewer. However, the Silverlight framework imposes  some limitations that do not allow accessing fonts on the client, thus embedding the needed fonts is not possible. There is a set of standard fonts that do not need to be embedded. Basically, when exporting from RadRichTextBox all fonts that are not included in the standard set fallback to one of the standard fonts. I presume this is what happens in your application as well.

Let me know if you have further comments or questions.

Regards,
Petya
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Fredrik
Top achievements
Rank 2
answered on 22 Feb 2016, 09:54 AM

Is there a solution to this problem?

I am using a font called Gill Sans MT in my radrichtexteditor and it gets displayed correctly, but when i export to pdf it gets reverted to some standard font.

0
Deyan
Telerik team
answered on 23 Feb 2016, 02:49 PM
Hello Fredrik,

As a workaround for now you may try using RadWordsProcessing library. For more detailed information you may see this forum post and its attached demo.

Regards,
Deyan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
RichTextBox
Asked by
Reinier
Top achievements
Rank 1
Answers by
Petya
Telerik team
Fredrik
Top achievements
Rank 2
Deyan
Telerik team
Share this question
or