Hi Theodore,
Thank you for your interest in Essential PDF.
Drawing Greek string in PDFWe can draw the greek language text by drawing the text with PdfTrueType font. Kindly refer the below code snippet,
//Create font
Font f = new Font("Arial", 14);
PdfFont font = new PdfTrueTypeFont(f, true);
string path = @"..\..\Data\Essential PDF.rtf";
//Read the text from text file
StreamReader reader = new StreamReader("Greek.txt", Encoding.Unicode);
string text = reader.ReadToEnd();
reader.Close();
//Create a brush
PdfBrush brush = new PdfSolidBrush(Color.Black);
PdfPen pen = new PdfPen(Color.Black);
SizeF clipBounds = page.Graphics.ClientSize;
RectangleF rect = new RectangleF(0, 0, clipBounds.Width , clipBounds.Height);
//Set the property for RTL text
PdfStringFormat format = new PdfStringFormat();
format.ParagraphIndent = 35f;
page.Graphics.DrawString(text, font, brush, rect, format);
Could you please do find the sample which demonstrates the above mentioned feature and let me know if you need any information?
http://files.syncfusion.com/samples/PDF.Windows/GreekSupport.zipRegards,
Suba