OK, people!
Here is what was wrong:

Changing this:
var bf = BaseFont.CreateFont(UnicodeFontPath, BaseFont.IDENTITY_H,
BaseFont.EMBEDDED);
..into this:
var bf = BaseFont.CreateFont(UnicodeFontPath, "CP1253", BaseFont.EMBEDDED);

..solved the problem. Apparently, IDENTITY_H selects the code-page that it
THINKS is appropriate and doesn't embed all code-pages...
Now, with the Greek code-page selected, the field supports both Greek and
English!


(Can someone explain to me why " BaseFont .IDENTITY_H", " BaseFont .CP****"
and the rest of the enumerable values are not implemented with enumerations?
I think that would make your LIB way more easy to use.)




------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to