Save PDF as Docx create wrong Font.SizeBi

Save PDF as Docx with Bidi text (Hebrew or Arabic) miss the right font size.
Here my code (and below the code of Aspose.Words to fix the issue):

using (Document pdfFile = new Document(Path.Combine(SampleFiles, “OrgSampleFontSize.pdf”)))
{
pdfFile.Save(Path.Combine(SampleFiles, “SampleFontSize.doc”), new DocSaveOptions()
{
Format = DocSaveOptions.DocFormat.Doc
})
pdfFile.Save(Path.Combine(SampleFiles, “SampleFontSize.docx”), new DocSaveOptions()
{
Format = DocSaveOptions.DocFormat.DocX
})
}

Here my fix:
{
Document d = new Document(Path.Combine(SampleFiles, “SampleFontSize.docx”));
var runs = d.GetChildNodes(NodeType.Run, true);
foreach (Run r in runs)
{
r.Font.SizeBi = r.Font.Size;
}
d.Save(Path.Combine(SampleFiles, “FIXBiFontSize.docx”));
}

PdfBiFontSize.zip (3.4 MB)

@arn951

Thanks for contacting support.

We were able to reproduce the issue in our environment and logged it as PDFNET-45690 in our issue tracking system. We will further look into this and keep you posted with the status of its correction. Please be patient and spare us little time.

We are sorry for the inconvenience.