Aspose.net HarfBuzz reverse-renders the '(' in converting word to pdf

When HarfBuzz library is used like this:
doc.LayoutOptions.TextShaperFactory = HarfBuzzTextShaperFactory.Instance;
The ‘(’ character in number format renders reversely like this: ‘)’ when direction is rtl and align is right.

t3.pdf (39.8 KB)

t3.docx (12.7 KB)

@meg.2891 Unfortunately, I cannot reproduce the problem using the latest 23.11 version of Aspose.Words. Here is the output PDF produced by the following code:

Document doc = new Document(@"C:\Temp\in.docx");
doc.LayoutOptions.TextShaperFactory = Aspose.Words.Shaping.HarfBuzz.HarfBuzzTextShaperFactory.Instance;
doc.Save(@"C:\Temp\out_HarfBuzz.pdf");

out_HarfBuzz.pdf (25.7 KB)

It is fixed on 23.11. Thank you for the support!

1 Like