Line thickness when converting to PDF

we are facing issue regarding line thickness of visio file in MS Word, when we open the document in adobe(broswer) it does open correctly without any issue , but when we download the same document and open it in Adobe application, document does open but line thickness got faded.

@Rajann Could you please attach your input and output documents here for testing? We will check the issue and provide you more information. It is difficult to say what the problem is without actual documents.

Hello Alexey,

Is that possible if I can set up the meeting with you so that we can describe you properly

Let me know , it will be highly appreciated

image001.jpg (173 Bytes)

@Rajann Unfortunately, we do not provide support via phone or video calls. The main place for getting support is this forum.

no issues, reason i asked due to the sharing senstive data. we will soon find some alternative way to provide you something so that you can give a look

@Rajann Sure, we will wait for your inputs.

Hello Alexy

Attached is the PDF file where we facing issue (faded lines). If you will be open in browser( it will be fine). If you open in adobe than there is an issue

Let us know if any questions or concerns

New_image_blur_issue_qmap.pdf (590 KB)

New_image_blur_issue_qmap.docx (3.35 MB)

@Rajann The images in your input document are EMF metafiles. Aspose.Words renders them as vector graphics to PDF. The images have very thin hairlines, which are handled differently by different consumption applications. We will investigate whether we can improve hairline rendering.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-25653

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Thank you we will wait

1 Like

Any update on this ??

image001.jpg (173 Bytes)

@Rajann The issue is closed as not a bug. You use PdfSaveOptions.OptimizeOutput to make the output look better in Acrobat reader.

Document doc = new Document(@"C:\Temp\in.docx");
PdfSaveOptions options = new PdfSaveOptions();
options.OptimizeOutput = true;
doc.Save(@"C:\Temp\out.pdf", options);

The issues you have found earlier (filed as WORDSNET-25653) have been fixed in this Aspose.Words for .NET 23.8 update also available on NuGet.

Hello Alexey,

Would like to mention that code mentioned by you , didn’t help that much

Could you tell us any other idea ?

image001.jpg (173 Bytes)

@Rajann, with the code provided by Alexey, Aspose.Words produces PDF that looks the same as PDF produced by Microsoft Word. That’s why the issue has been closed as ‘Not a bug’.

aspose.words.pdf (973.9 KB)
microsoft.word.pdf (464.2 KB)

But we still facing issues .

image001.jpg (173 Bytes)

@Rajann, could you please make and attach screenshots of the PDF file in the program that displays the PDF file correctly and in another program where the PDF file is displayed incorrectly with faded lines? Also please attach the source Word document and the output PDF file.