Hi,
When converting a DOCX with some text using the usual Arial font to PDF, the font of the text gets bold unexpectedly and pushed the text to two rows.
Code:
var doc = new Document(@".\test.docx");
doc.LayoutOptions.TextShaperFactory = Aspose.Words.Shaping.HarfBuzz.HarfBuzzTextShaperFactory.Instance;
doc.Save(@".\test.pdf");
Looking at the Fonts properties in the PDF, it looked like ‘Arial Bold’ was embeded even if it was not used in the DOCX.
I’ve attached the test files and a screenshot for your reference. Could you please help me take a look:
test.zip (44.8 KB)
image.png (43.1 KB)
Thanks,