Welcome Guest Search | Active Topics | Sign In | Register

Fonts rendered Options
donald
Posted: Thursday, August 16, 2012 5:04:33 AM
Rank: Newbie
Groups: Member

Joined: 8/16/2012
Posts: 3
If a report is rendered by a user and they don't have the required font installed on their machine but the font is installed on the server, will the appropriate font be displayed in the generated PDF. Or does the user require the font installed locally?
eo_support
Posted: Thursday, August 16, 2012 8:11:40 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

The font data will be embedded in the PDF. So it is not required for the end user to have that font installed locally.

Thanks!
donald
Posted: Friday, August 17, 2012 7:06:03 AM
Rank: Newbie
Groups: Member

Joined: 8/16/2012
Posts: 3
Thanks for your reply,

Can I check what I need to do to embed the font in the PDF? If my element has the font set as an inline style, will this be enough for the font to be embedded in the final PDF?

e.g.

Code: HTML/ASPX
<p style="font-family: arial narrow">Some text</p>
eo_support
Posted: Friday, August 17, 2012 9:44:08 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

You have to do this:

<p style="font-family: 'arial narrow'">Some text</p>

Note the additional quote around 'arial narrow'. This is necessary so that it knows the font name includes both words.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.