Hi,

I'm  trying to write some PDF in Japanese and all the Japanese text
disappear every time, can you please help me?

Document document = new Document(PageSize.A4.rotate(), 60, 60, 40, 40);
this.initItextWriter(document, out);
document.open();
this.model.getEncoding();
Paragraph para = new Paragraph(new Chunk("werwer[友達ぎょとう駅魚等
苦]werwer",  FontFactory.getFont("c:\\windows\\fonts\\msgothic.ttc,1",
10)));
para.setAlignment(Paragraph.ALIGN_CENTER);
document.add(para);
document.close();

When I look to my PDF file the text is just werwer[]werwer but the fonts are
MS-PGothic and MS-PGothic (Embedded Subset)


Thanks


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to