I am trying to sign a PDF file using a certificate that its subject name in Arabic. Signature appearance doesn't show text correctly, the text direction should be RTL. For example, instead of "عربي" it appears "ي ب ر ع"
PdfFont fontTest = PdfFontFactory.CreateFont(System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Fonts), "Tahoma.ttf"), PdfEncodings.IDENTITY_H, true);
PdfString pdfString = new PdfString("Digitally signed by\n " + cert.IssuedTo + "\n Date:" + DateTime.Now);
PdfSignatureAppearance appearance = signer.GetSignatureAppearance();
appearance.SetReuseAppearance(false)
.SetPageRect(rect)
.SetPageNumber(pageNmber)
.SetLayer2Font(fontTest)
.SetLayer2Text(pdfString.ToString())
.SetRenderingMode(PdfSignatureAppearance.RenderingMode.NAME_AND_DESCRIPTION) ;