Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files from any .NET platform (C#, VB.NET, ASP.NET, .NET Core) and Java applications (J2SE and J2EE) with fast and high quality performance.

Wed Jan 11, 2012 10:37 pm

Thanks for the suggestion. I can't get this approach of expanding the bottom margin to compensate for the drift 100% of the time. It works on some pages but not others. The problem is that the amount of drift varies based on the formatting on the page. Some pages have section headers with larger fonts or other paragraph formatting so the amount the bottom margin needs to be expanded varies from page to page, and document to document.

The problem is caused by the fact that line height in the PDF is very slightly smaller than the line height in the original word document. Each line drifts up on the page very slightly compared to the Word document causing an accumulated drift of several lines by the end of the page.

Can't you just fix the problem by maintaining line height exactly?

Posts: 21
Joined: Wed Oct 26, 2011 6:10 pm

Thu Jan 12, 2012 5:28 am

Hello wmtaylor48,

We are so sorry for the inconvenience caused by us and thank you for your patience with our support team.

We are researching on this issue. But because of that MS Word and Pdf use different typography unit systems (MS Word applies “Point(printer’s)”, Pdf uses “PostScript point”), it is not easy to solve this issue within a short time. Once we have any progress, we will inform you.

Sorry again.
Have a great day.

e-iceblue support
User avatar

Posts: 154
Joined: Thu Oct 20, 2011 2:53 am

Return to Spire.Doc