Free Support Forum - aspose.com

Russian text isn't displayed with Stamp

Hi!

I use Stamp to display logo at my Pdf document, but it doesn't work.

Here is the code:

Stamp logoStamp = new Stamp();

logoStamp.BindLogo(new FormattedText("Some russian text.", System.Drawing.Color.Blue, FontStyle.Courier,

EncodingType.Winansi, false, 50));

PdfFileStamp stamper = new PdfFileStamp(file.Name + "-nologo.pdf", file.Name + "-logo.pdf");

stamper.AddStamp(logoStamp);

stamper.Close();

If i use english text instead of russian in stamp - it's displayed properly. I tried different encoding types in FormattedText constructor, but for some of them the problem is still the same,and for some others i received error message "{"'Identity-V' is not a supported encoding name.\r\nParameter name: name"}" at the line with FormattedText constrctor.

Is russian text displaying possible on a stamp?

I promise next time i will use search over the board instead of asking dummy questions:)

http://www.aspose.com/community/forums/thread/83159/adding-multi-lingual-multi-line-text-to-an-existing-document.aspx

works fine. Question is no more actual.