Expected Output:
Čairo
Reality:
airo
I am initializing the font like so:
Dim cb As PdfContentByte = writer.DirectContent
cb.BeginText()
Dim bf As BaseFont
bf = BaseFont.CreateFont("c:\windows\fonts\arial.ttf", BaseFont.IDENTITY_H, BaseFont.EMBEDDED)
I've tried to do it like this as well:
Dim f As New Font(iTextSharp.text.Font.FontFamily.HELVETICA, 10.0F, iTextSharp.text.Font.NORMAL, BaseColor.BLACK)
Dim ph As New Phrase(moderate_foods(i), f)
Dim cell As New PdfPCell(ph)
How do we render the Č character in a pdf?