Hi
I am Biswal. When I print the Serbia language Unicode character in iTextSharp pdf file, it generates blank spaces. When I print the general English language, it prints normal in English language.
Please suggest me how can I do Serbia Unicode printing in iTextSharp generated pdf file.
I am using below code for printing Unicode character, but it looks like that this code is not working.
Dim cb As PdfContentByte = Writer.DirectContent
Dim ct As New ColumnText(cb)
Dim bf As BaseFont
bf = BaseFont.CreateFont("C:\Windows\Fonts\ARIALUNI.TTF", BaseFont.IDENTITY_H, BaseFont.EMBEDDED)
Dim myfont As New Font(bf, 8)
ct.AddText(New Chunk( cs.Section_A1, FontFactory.GetFont("bf", 8, iTextSharp.text.Font.NORMAL)))
ct.Go()
Above code is working for English language.
If anyone knows then please give me some idea on how to print serbia unicode character.
Thanks & Regards
Biswal