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

Fonts and HtmlTextBox

2 Answers 231 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mercell
Top achievements
Rank 2
Mercell asked on 12 May 2009, 09:37 AM
Hi,

I have a report with a HtmlTextBox using a special font "RotisSansSerif". The textbox contains both bold and italic text and it all looks fine in the reportviewer but when exporting to pdf the bold and italic text just shows up as normal unformatted text.

When I look in the pdf it tells me that 3 fonts are embedded "RotisSansSerif", "RotisSansSerif, Bold" and "RotisSansSerif, Italic" but still it only shows normal text.

I have only the font "RotisSansSerif" installed on my computer. Do I need to install "RotisSansSerif, Bold" and "RotisSansSerif, Italic" also to have it show up in the pdf?

Thanks,
Brian

2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 12 May 2009, 02:12 PM
Hello Bo,

By default Telerik Reporting embeds the fonts into the pdf, so that you do not have to install the font on every machine it would be opened onto. This is controlled through the Device Information Settings and namely through the FontEmbedding attribute - make sure you do not have any code in your app/web config file changing this.
I've done a test on my end with the fonts you've sent in previous thread and they look correct on my end. I've even created a pdf with Adobe Acrobat Pro with those fonts and they look identical with the pdf generated from Telerik Reporting. I've attached both for your convenience.

All the best,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Mercell
Top achievements
Rank 2
answered on 13 May 2009, 06:58 AM
Hi Steve,

I just created a support ticket with a sample project as I think you misunderstood the problem.

http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=211974

Thanks,
Brian
Tags
General Discussions
Asked by
Mercell
Top achievements
Rank 2
Answers by
Steve
Telerik team
Mercell
Top achievements
Rank 2
Share this question
or