|
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?
|
|
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!
|
|
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>
|
|
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!
|
|