Additional spaces added in PDF

Hello,

When using the PDF viewer, there seems to be additional spaces added on either side of the "." in the numeric values. Attached is a picture of the PDF and Word side by side to show the difference in spacing. Is it possible to remove this additional space in the PDF? 

Thanks.  


Attachment: PDFSpacing_78c722cc.zip

9 Replies

AN Anto Nihil Sahaya Raj Syncfusion Team April 9, 2024 07:31 AM UTC

Hi Natalie,

We have reproduced the reported issue with “Extra spaces added on either side of the "." while converting a Word document to PDF” on our side. We will validate this issue and update you with more details within two business days.


In the meantime, could you please share the Word document that was used on your end? This will be helpful in validating the issue, and we will ensure to your document after fixing the issue.

Note: if you have any confidential data in your input document, please replace with some dummy data and provide us the same. Once investigated the issue, we will delete the document permanently from our side.

Regards,
Anto Nihil S



NW Natalie Westphal April 9, 2024 03:34 PM UTC

Excellent, attached is the word document referenced above. 


Attachment: AISC_Report2_a695124.zip


AN Anto Nihil Sahaya Raj Syncfusion Team April 10, 2024 04:32 AM UTC

Natalie, thank you for sharing the Word document for reference. As mentioned earlier, we will validate and share the details within two business days.



AN Anto Nihil Sahaya Raj Syncfusion Team April 12, 2024 04:16 PM UTC

Natalie, we have confirmed that the reported issue with “Spaces are incorrectly added to MathML equations when converting a Word document to PDF” is a defect and we have logged a defect report. We will include the fix for this defect in our weekly NuGet release, which is estimated to be available at the end of April 2024.


The status of this bug can be tracked through the below link:

Spaces are incorrectly added to MathML equations when converting a Word document to PDF in WPF | Feedback Portal (syncfusion.com)

Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.



AN Anto Nihil Sahaya Raj Syncfusion Team April 30, 2024 07:58 AM UTC

Natalie , as promised earlier, we have included the fix for the reported bug with “Spaces are incorrectly added to MathML equations when converting a Word document to PDF” in our latest weekly NuGet release (v25.1.42).

Root cause of the issue:
During Word to PDF conversion, we add a space between the equation text when an operator such as +, -, *, etc. is used between the numbers or words. In this case, we have considered that the dot character(.) used between numbers is an operator and then added space for the equation text. However, Microsoft Word does not add a space between the dot character. As a result, we are facing spacing issues between the equation text.

Please use the below link to download our latest weekly NuGet:
Syncfusion.DocToPDFConverter.Wpf

The status of this bug task can be tracked through the Feedback link.

Note: We will include this fix in our 2024 Volume 1 SP release, which will be available in the beginning of May 2024.



MR M r October 3, 2024 07:14 AM UTC

I have the same problem, while using: 

Syncfusion.DocToPDFConverter.AspNet, Version 20.4.0.54.

Is there NuGet that I can replace this one for .Net Framework 4.8 to fix this bug?



DA Dharanitharan Ayyasamy Syncfusion Team October 4, 2024 07:16 AM UTC

M r, from the provided details, we have found that you are using our Syncfusion DocIO ASP.NET Web Forms NuGet. We have deprecated the “ASP.NET Web forms” packages in our library from v22.1.34. They are out of service, and we do not update this package anymore.

We recommend you to use the same product from ASP.NET Core platform. By migrating the application to .NET Core will supports cross platforms such as Windows, macOS, Linux, docker, Azure, and AWS environments.

Suggested Alternative package:
Syncfusion.DocIORenderer.Net.Core

Note: If you want to migrate without any code changes from “Syncfusion.DocIO.ASP.NET” NuGet in application targeting .NET Framework, you can consider to use “Syncfusion.DocIO.AspNet.Mcv4” NuGet package.

For more details kindly find the link below.
Migrate from .NET Framework to .NET core | DocIO | Syncfusion



MR M r November 7, 2024 11:19 AM UTC

Hi, I upgraded ti the AspNet.Mvc4 Nuget packages.

I also updated Syncfusion.Licesing package and now I have this problem: Could not load file or assembly 'Syncfusion.Licensing, Version=27.1400.51.0

My 
Syncfusion.Licensing.dll is 27.1426.51Product version while the rest of the Syncfusion .dlls are 27.1400.51 Product version.

How do I make sure they are all 27.1426.51 or 27.1400.51?

Thank you



DS Dharanya Sakthivel Syncfusion Team November 8, 2024 01:09 PM UTC

M r, it looks like there is a version mismatch between the Syncfusion.Licensing.dll (version 27.1426.51) and the other Syncfusion assemblies (version 27.1400.51) in your project. To resolve this, you’ll need to ensure all Syncfusion packages are on the same version.

To resolve the licensing issue, please install the Syncfusion.Licensing package from NuGet.org. If the issue persists after installation, open your .csproj file in a text editor (such as Notepad) and manually edit the version and verify that the Syncfusion.Licensing package version matches the versions of the other Syncfusion packages in your project.

Regards,
Dharanya.


Loader.
Up arrow icon