We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

New line spacing problems in PDF export

Thread ID:

Created:

Updated:

Platform:

Replies:

143996 Apr 13,2019 03:43 AM UTC Apr 16,2019 08:56 AM UTC Report Platform 6
loading
Tags: General
David
Asked On April 13, 2019 03:43 AM UTC

Am experiencing problems getting multi line value text such as those saved by textarea to display consistently between the javascript report viewer and the exported PDF from the same viewer.

For example this is what my current report looks like in report viewer and exported PDF respectively:



As you can see there is an additional spacing created between lines. I'm pretty sure this problem didn't occur until updating to the newer version of the report server. I've done a bit of testing and one thing I've noticed is that this for text values that include Line Feed i.e. CHR(10) will look like the above but if I change to only using Carriage Returns i.e. CHR(13) it will instead work properly in PDF but not in the report viewer as below:


I would appreciate any help to get the export back to being consistent with the report display.

Vinoth Srinivasan [Syncfusion]
Replied On April 15, 2019 09:47 AM UTC

Hi David, 

Thanks for your interest in Syncfusion Components. 

We have validated the reported problem at our end in 3.2.0.40 report platform version and not able to reproduce the reported issue. So, we have prepared a simple RDL report for your reference and it can be downloaded from the below location. 


If issue still persists then could you please revert the RDL file with issue reproducible case to validate the mentioned problem at our end. 

Regards, 
Vinoth S. 


David
Replied On April 16, 2019 03:38 AM UTC

Hi Vinoth,

Thanks for the reply, it's strange though the error doesn't occur if creating strings directly as you have sent me in the report. It only seems to happen when I take textarea data from the database. Also the problem with carriage return CHR(13) only text not showing correctly in report viewer happens in both directly create string and from database value. I'll continue trying to test and will reply back with a reproducible report when I can.

David
Replied On April 16, 2019 04:05 AM UTC

I think I've managed to reproduce with the attached report. Basically this happens on my end if there is a space just before the CHR(10). I've sent back the edited version to see if it also happens on your end.

Attachment: LineSpace_cef10cc.zip

Vinoth Srinivasan [Syncfusion]
Replied On April 16, 2019 08:46 AM UTC

Hi David, 

We have confirmed that we were able to reproduce this issue in the v3.2.0.40 report platform release. It has been fixed and rolled out in the Report Platform v3.2.0.42 SP release last week. Could you please upgrade the Report Platform into v3.2.0.42 and make use of it? 


Regards, 
Vinoth S. 


David
Replied On April 16, 2019 08:53 AM UTC

Ah right, sorry about that didn't realize it was already fixed in the latest service pack. I'll have to prepare a bit before updating but thanks for the help in checking this problem.

Vinoth Srinivasan [Syncfusion]
Replied On April 16, 2019 08:56 AM UTC

Hi David, 

Thanks for your update and please confirm us once issue has been resolved after upgrading to latest service pack release. 

Regards, 
Vinoth S. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon