The code:
String path = "C:\\Users\\z_jia\\Desktop\\a\\DMS\\";
Document doc = new Document(path + "796597488160104448.docx");
doc.getLayoutOptions().setTextShaperFactory(com.aspose.words.shaping.harfbuzz.HarfBuzzTextSha…...engine, which can interpret font rendering, text wrapping, and...elements)—that influences layout. Font-related rendering differences...