We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert Word DOC to TIFF Image & Retain Orientation of Japanese Characters

This is a resurrection of case WORDSNET-21330 - which your support team claimed was fixed with the latest version of Aspose Words For .Net ( version 21.4).
However our test with version 21.7.0 suggests that the problem still persists…

@SamManoff,

Yes, WORDSNET-21330 was resolved. Please compress the following resources into ZIP format and attach the .zip file here for testing:

  • A simplified Word DOC document containing the Japanese characters
  • Aspose.Words 21.7 generated TIFF Image file showing the undesired behavior
  • Please also provide a comparison screenshot highlighting (encircle) the problematic area(s) in Aspose.Words generated output and attach it here for our reference.

As soon as you get these pieces of information ready, we will then start investigation into your particular scenario and provide you more information.

IF-5235.zip (167.1 KB)
Please find the following attachments:
IF-5235.doc - The source document
Aspose-21-7-0.jpg - A snapshot of the generated image with the the faulting sections highlighted.
IF-5235.tiff - The Aspose generated image by our application.
MsFax-IF-5235.tif - The desired resulting image, generated by MS Fax printer.

Hope this helps.
Sam

Uploaded the files through Aspose sight.
Thanks - Sam

@SamManoff,

Please use the following code to get the desired output:

Document doc = new Document("C:\\Temp\\IF-5235\\IF-5235.doc");
doc.LayoutOptions.TextShaperFactory = HarfBuzzTextShaperFactory.Instance;
ImageSaveOptions options = new ImageSaveOptions(SaveFormat.Tiff);
doc.Save("C:\\temp\\IF-5235\\21.7.tiff", options);

I have also attached the output TIFF Image file here for your reference:

AsposeGen_HarfBuzz.png (61.3 KB)
Hi Awais
Attached is the image generated when I added the suggested
doc.LayoutOptions.TextShaperFactory = HarfBuzzTextShaperFactory.Instance;
statement.
As you can see the text got stripped out altogether.
Please advise,
Sam.

@SamManoff,

Please check the following article to determine if any fonts related warnings are being thrown by Aspose.Words on your end:

How to Receive Notification of Missing Fonts and Font Substitution during Rendering

Please make sure that the following fonts are installed on your machine:

  • MS Pゴシック
  • MS ゴシック
  • Century
  • MS 明朝
  • MS P明朝