Welcome Guest Search | Active Topics | Sign In | Register

PDF not rendering Correctly Options
Lee
Posted: Tuesday, November 11, 2014 4:00:44 AM
Rank: Member
Groups: Member

Joined: 7/16/2012
Posts: 13
When calling ConvertUrl on the following URL, the PDF does not render the chart correctly:

http://www.ckp.scot.nhs.uk/Published/Print.aspx?id=645

This can be replicated with the live demo.
eo_support
Posted: Tuesday, November 11, 2014 9:35:01 AM
Rank: Administration
Groups: Administration

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

We have looked in this page and the problem seems to be related to the "Cambria Math" font your page used. In some of our test system, the following HTML:

Code: HTML/ASPX
<p style="font-family: 'Cambria Math'; font-size: 12pt;">abc</p>


Will have an extremely large ascend and descend value that results in a single line of the above text takes up 89 pixels in vertical direction. The ascend/descend values are defined in the font. If you change it to a different font, then the problem will go away.

Thanks!
Lee
Posted: Wednesday, November 12, 2014 6:38:13 AM
Rank: Member
Groups: Member

Joined: 7/16/2012
Posts: 13
That's exactly it, thanks!
eo_support
Posted: Wednesday, November 12, 2014 9:20:56 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Glad to hear that! Please feel free to let us know if there is anything else.


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.