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

Free Support Forum - aspose.com

Stroke size of bold Japanese Unicode font

Hello,


When rendering a PDF-file from a Word-document with a bold Japanese unicode font.

The stroke width on Japanese fonts in bold (e.g.
MS Mincho, MS Gothic) varies by the font size. Sometimes it is readable, most
time it’s not and thus not usable for Japanese documents. The attached example shows
four lines including some unreadable characters (red).<o:p></o:p>


This is our code:

Document doc = new Document(inFilePath.toString());
PdfSaveOptions saveOptions = new PdfSaveOptions();
saveOptions.setFontEmbeddingMode(PdfFontEmbeddingMode.EMBED_ALL);
doc.save(outFilePath.toString(), saveOptions);


Is there a way to change the bold-stroke width with the current API ?
Using JDK 1.6 and Aspose Words 16.1.0 (Total license)

Thank you for your time!
Samnang

Hi there,

Thanks for your inquiry. Please note that Aspose.Words mimics the same behavior as MS Word does. If you convert your document to Pdf using MS Word, you will get the same output.

Dear Tahir,


We have compared the result from Aspose with the result from MS Word.
The rendering of the Japanese fonts are indeed conform and identical, as good as it gets.

I’ll consider this issue closed.
I would like to thank you for your time and research !


Greetings,
Samnang
Hi there,

Thanks for your feedback. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.