Post by André FróesAs Paulo said, yo uneed the ARIALUNI.TTF to make it works.
To solve that problem, which I had about 3 months ago, I added that font
to my resources and referenced to it.
private FontSelector createFont(){
BaseFont baseFont = BaseFont.createFont(
"/path/to/the/font/ARIALUNI.TTF",
BaseFont.IDENTITY_H,
BaseFont.EMBEDDED);
// configure font with base size and the created font
font = new Font(baseFont, textSize, Font.UNDEFINED);
font.setColor(textColor);
// set values to fontSelector
fontSelector.addFont(font);
}
This solution is pretty chewed, so, use it well.
Post by Paulo SoaresSo you want to make an omelet without any eggs. Those fonts don't have
any chinese characters inside, your task is impossible. You'll need another
font, arialuni.ttf for example.
Paulo
Post by Ashesh K SinhaHi All,
I need one urgent help to print simplified chinese charaters in itext.I
am restricted to use on ARIALN.TTF/ARIALNB.TTF.Also please suggest the
character encoding which i need to use.When i use this font with Identify-h
or utf-8 or winansi the chinese characters simply disappears from my
pdf.Quick help is much appreciated.
Thanks & Regards
Ashesh K Sinha.
Senior Software Engineer.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub
for all
things parallel software development, from weekly thought leadership
blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
iText-questions mailing list
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/
http://itextpdf.com/themes/keywords.php
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub
for all
things parallel software development, from weekly thought leadership
blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
iText-questions mailing list
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/
http://itextpdf.com/themes/keywords.php
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for
all
things parallel software development, from weekly thought leadership blogs
to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
iText-questions mailing list
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/
http://itextpdf.com/themes/keywords.php