Incorrect line spacing in pdf

Technical support for Spire.Doc

Moderator: iceblue support

Incorrect line spacing in pdf

Postby kriskm59 » Fri Oct 21, 2011 9:30 am

Hi,

I am trying to generate pdf from docx file.

open file:
Document document = new Document(@"test.docx");

and replace same text:

document.Replace("{texttoreplace}", "Vestibulum iaculis euismod eros eget suscipit. Vestibulum dolor ante, fermentum et molestie a, suscipit non leo. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Donec non diam at purus mollis dictum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Vivamus volutpat nulla id neque convallis molestie. Quisque ac nibh purus, facilisis condimentum ipsum. Curabitur vel neque lacus. Cras gravida enim eu risus viverra in tempor justo vulputate. Duis fringilla leo id enim tincidunt hendrerit. Donec eu nisi est, ut hendrerit est. Etiam vehicula nulla nec ligula tempus adipiscing. Nullam elementum ligula nec quam dignissim porttitor. Quisque feugiat diam in justo malesuada a egestas nibh fermentum. Cras tempus pellentesque commodo. Vivamus consequat, libero vel rutrum fringilla, lectus tortor cursus nulla, eget tincidunt est diam non risus. ", false, false);

{texttoreplace} has spacing set to 'double'

save document as pdf:

document.SaveToFile(@"test.pdf", FileFormat.PDF);

Spacing is double only between first two lines (see attachment).

How can I fix it?

Kind regards,
Kris
You do not have the required permissions to view the files attached to this post.
kriskm59
 
Posts: 11
Joined: Mon Oct 17, 2011 1:32 pm

Re: Incorrect line spacing in pdf

Postby Tina.Lin » Sat Oct 22, 2011 7:39 am

Hello Kris,

Sorry for any inconveniences caused by us and thank you for your inquiry.

It's a bug of Spire.Doc. We are fixing it now. Once we finished it, We will notify you as soon as possible. Please wait with patience.
Have a nice day.
Tina
Technical Support/Developer,
e-iceblue Support Team
User avatar
Tina.Lin
 
Posts: 152
Joined: Tue Sep 13, 2011 5:37 am

Re: Incorrect line spacing in pdf

Postby Tina.Lin » Mon Oct 24, 2011 8:47 am

Hello Kris,

Sorry for any inconveniences caused by us and thank you for your patience with our reply.

Would you please send the .Doc file to help us reproduce the problem?
Have a nice day.
Tina
Technical Support/Developer,
e-iceblue Support Team
User avatar
Tina.Lin
 
Posts: 152
Joined: Tue Sep 13, 2011 5:37 am

Re: Incorrect line spacing in pdf

Postby kriskm59 » Fri Nov 04, 2011 3:59 pm

Thank You.

The last hotfix fix it

Kris
kriskm59
 
Posts: 11
Joined: Mon Oct 17, 2011 1:32 pm


Return to Spire.Doc

Who is online

Users browsing this forum: No registered users and 0 guests

cron