Multi line arabic text in stamp

When I add Multi Line text for text stamp with arabic words and Alignment Right -or center-
the first line is shifted and end of text is croped

Document doc = new Document(path);
var text = "الاسم الكامل : اهلا وسهلا بيكم";
var formattedText = new Aspose.Pdf.Facades.FormattedText(text);
formattedText.AddNewLineText("اسم الملف : title 01");
Page page = doc.Pages[1];

TextStamp textStamp = new TextStamp(formattedText);
   
textStamp.TextAlignment = HorizontalAlignment.Right;
    
textStamp.TextState.Font = FontRepository.FindFont("Arial");
textStamp.TextState.ForegroundColor = Aspose.Pdf.Color.Purple;

textStamp.TextState.FontSize = 16;
textStamp.XIndent = 0;
textStamp.YIndent =0;
page.AddStamp(textStamp);

output-left.pdf (225.7 KB)
output-center.pdf (225.7 KB)

@NourKhashan
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-58631

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.