I've been trying to embed some Japanese fonts, and I've found that this: Font japan = FontFactory.GetFont("KozMinPro-Regular", "UniJIS-UCS2-H", BaseFont.EMBEDDED, etc. produces good text, but the font is not embedded (as expected, since CJK fonts don't embed). If I do this: Font japan = FontFactory.GetFont("c:\\windows\\fonts\\KozGoProVI-Medium.otf", BaseFont.IDENTITY_H, BaseFont.EMBEDDED, etc. the font is embedded, but the text is invisible, so presumably the characters are mismapped. It only seems to be a problem with Type1 fonts, since the same thing (second example, with IDENTITY_H) works fine with, e.g., "c:\\windows\\fonts\\msgothic.ttc,1"
Does anyone know the magic formula to make this work? Thanks, - Eric ------------------------------------------------------------------------------ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/