Can you post the PDF? Paulo
-----Original Message----- From: de Beus, Eric [mailto:eric.deb...@xerox.com] Sent: Wednesday, May 12, 2010 5:20 PM To: Post all your questions about iText here Subject: Re: [iText-questions] How to embed Type1 Japanese fonts That's correct. - Eric -----Original Message----- From: Paulo Soares [mailto:psoa...@glintt.com] Sent: Wednesday, May 12, 2010 9:00 AM To: Post all your questions about iText here Subject: Re: [iText-questions] How to embed Type1 Japanese fonts Not even the latin characters show up? Paulo -----Original Message----- From: de Beus, Eric [mailto:eric.deb...@xerox.com] Sent: Wednesday, May 12, 2010 4:25 PM To: Post all your questions about iText here Subject: [iText-questions] How to embed Type1 Japanese fonts 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 Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.
------------------------------------------------------------------------------
_______________________________________________ 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/