I had the same problem few years ago. I am using the following code snippet
for Greek letters.
BaseFont bf = BaseFont.createFont("c:/windows/fonts/arial.ttf",
BaseFont.IDENTITY_H, BaseFont.NOT_EMBEDDED);
bf.setSubset(true);
This will fix the problem with "Δ" and "Ω" and generally Greek letters. I
On 29/07/2011 10:03, Kostas wrote:
> I tried using other
> codepages and fonts that support Greek characters, but those 2 characters
> were still missing. Can you help me? Thanks in advance.
You're using Code page 1253. This means you're using the font as a
"simple font" (section 11.2.1 in "iText
Hi, I was working with iText in java and tried to make a simple program that
creates a PDF file with Greek text in it.
Here is part of my code:
(...)
*public String url = "C:/Windows/Fonts/arial.ttf";*
public int size = 12;
*public String GREEK_CODEPAGE = "Cp1253";*
(...)