Convert DOCX to PDF using C# .NET Code & Preserve Japanese Text Wrapping inside TextBox & Orientation of Vertical Characters

Hello,

One of our customer in Korea, who has some technical questions regarding Aspose.Words for .NET
Could you please help to answer this customer’s question?

Order ID: 191209204804
Order Date: 12/9/2019
User Name: leejw_uniark_co_jp

============ Customer Questions ===========

I have three issues below when it converted to PDF from Word file by Save control of Aspose.Word.

Can you plase see an attahce image(AsposeImage.png) for follow issues Word file(TEST03.docx):

1, A line feed position has been changed
2, An Arial bold has been invalidated
3, Vertical character has been changed to horizontal characher.

============ Customer Questions ===========

Thank you in advance for your help.

Best regards,

Thomas Moon
ComponentSource

@ThomasMBK

To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please attach the output PDF file that shows the undesired behavior.
  • Please attach the expected output PDF file that shows the desired behavior.
  • Please create a standalone console application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.

Hello,

I have attached the resource about below:

1, Your input Word document ⇒ TEST03.docx:
2, Please attach the output PDF file that shows the undesired behavior ⇒ Converted_from_Aspose.pdf:
3, Please attach the expected output PDF file that shows the desired behavior ⇒ Converted_from_Word.pdf:
4, Please create a standalone console application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.
⇒ The customer is using Save control on Aspose.Word for .NET V19

Please also see “AsposeImage.png” for the error details.

Best regards,

Thomas Moon
ComponentSource

Downloads.zip (727.8 KB)

@ThomasMBK,

We tested the scenarios and have managed to reproduce the same problems on our end. For the sake of corrections, we have logged the following issues in our issue tracking system.

WORDSNET-19928: A line feed position has been changed
WORDSNET-19929: An Arial bold has been invalidated
WORDSNET-19930: Vertical character has been changed to horizontal characher.

We will further look into the details of these issues and will keep you updated on the status of corrections. We apologize for your inconvenience.

Hi,

The customer sent a reminder about this issue and they want to know resolving day specifically,
When do you expect to resolve it?

Thanks,
Thomas

@ThomasMBK,

Unfortunately, these issues are not resolved yet and there are no estimates (time frame) available at the moment. Please check below the current status of these issues.

WORDSNET-19928: Root cause of this problem has been identified and the fix of this issue is currently being developed.

WORDSNET-19929: We are currently doing analysis of this issue to determine the root cause

WORDSNET-19930: This issue is currently pending for analysis and is in the queue.

We will inform you via this thread as soon as these issues will be resolved in future or any estimates (ETAs) may be availeble. We apologize for your inconvenience.

@ThomasMBK,

We have good news for you i.e. WORDSNET-19930 has now been resolved. The fix of this issue will be included in the 20.3 (next version) of Aspose.Words. We will inform you via this thread as soon as the next version containing the fix of this issue will be released at the start of next month.

However, you will also need to use the following code to get the correct output:

Document doc = new Document("E:\\Temp\\in.docx");
doc.LayoutOptions.TextShaperFactory = HarfBuzzTextShaperFactory.Instance;
doc.Save("E:\\Temp\\20.1.pdf");

Please also refer to the following pages:

The issues you have found earlier (filed as WORDSNET-19930,WORDSNET-19928) have been fixed in this Aspose.Words for .NET 20.3 update and this Aspose.Words for Java 20.3 update.

The issues you have found earlier (filed as WORDSNET-19929) have been fixed in this Aspose.Words for .NET 20.5 update and this Aspose.Words for Java 20.5 update.