Re: [iText-questions] Chinese font in linux could not displayed.

2010-01-31 Thread 1T3XT info
xincai jiang wrote: > Luckily, I find the font file at : > /usr/share/fonts/truetype/unfonts/UnBatangBold.ttf > > Does this mean I need to set the fonts path depend on the OS(linux, > windows, Mac...)? Why the font "STSongStd-Light" of itextasian.jar could > not emedded in the pdf? Because the

Re: [iText-questions] Chinese font in linux could not displayed.

2010-01-31 Thread xincai jiang
Luckily, I find the font file at : /usr/share/fonts/truetype/unfonts/UnBatangBold.ttf Does this mean I need to set the fonts path depend on the OS(linux, windows, Mac...)? Why the font "STSongStd-Light" of itextasian.jar could not emedded in the pdf? 在 2010年2月1日 上午11:06,xincai jiang 写道: > Thanks

Re: [iText-questions] Chinese font in linux could not displayed.

2010-01-31 Thread xincai jiang
Thanks to everybody. "1T3XT info" is right. I download the adobe pdf reader for linux, and it can display Chinese very well. Maybe the default editor of pdf in ubuntu(called document viewer) do not support CJK fonts. Now,I am trying to find a CJK font can embedded in pdf. I find the fonts folder

Re: [iText-questions] Chinese font in linux could not displayed.

2010-01-29 Thread 1T3XT info
Leonard Rosenthol wrote: > Just to clarify Bruno's statement... > > iText chooses to not embed SOME CJK fonts. However, there is NOTHING in PDF > that prevents the embedding of a CJK font whose permissions allow it. Correct. When you use the class CJKFont in combination with iTextAsian.jar t

Re: [iText-questions] Chinese font in linux could not displayed.

2010-01-29 Thread Leonard Rosenthol
2010 7:05 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Chinese font in linux could not displayed. Mike Marchywka wrote: > You are getting the same silent failure mode in first and last case? If I understand correctly, whether or not Java is used is irreleva

Re: [iText-questions] Chinese font in linux could not displayed.

2010-01-29 Thread Mike Marchywka
> Date: Fri, 29 Jan 2010 13:04:39 +0100 > From: > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Chinese font in linux could not displayed. > > Mike Marchywka wrote: >> You are getting the sam

Re: [iText-questions] Chinese font in linux could not displayed.

2010-01-29 Thread 1T3XT info
Mike Marchywka wrote: > You are getting the same silent failure mode in first and last case? If I understand correctly, whether or not Java is used is irrelevant. It's about the PDF. CJK fonts are never embedded, and it's perfectly normal that the glyphs don't show up if the font isn't available.

Re: [iText-questions] Chinese font in linux could not displayed.

2010-01-29 Thread Mike Marchywka
> Date: Fri, 29 Jan 2010 13:23:34 +0800 > From: > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Chinese font in linux could not displayed. > > Hi, all: > > I use itext to export the swt chart to a pdf file. an

Re: [iText-questions] Chinese font in linux could not displayed.

2010-01-28 Thread 1T3XT info
xincai jiang wrote: > I have used itextasian.jar in my project. So you are using a CJK font. > Now I can export the pdf > file with Chinese corrently in Windows, but when it runs on linux(ubuntu > 9.10), Chinese characters only display as blank. CJK fonts are never embedded in the PDF file. Wh

[iText-questions] Chinese font in linux could not displayed.

2010-01-28 Thread xincai jiang
Hi, all: I use itext to export the swt chart to a pdf file. and there are some Chinese characters, but all the Chinese characters are displayed as blank. and I have used itextasian.jar in my project. Now I can export the pdf file with Chinese corrently in Windows, but when it runs on linux(ubunt