Search found 4 matches

by littlebean
Fri Jan 30, 2004 10:40 am
Forum: JFreeChart
Topic: Q:Display Chinese error in JFreeChart ,ok in JasperReport!
Replies: 11
Views: 14486

Thanks a lot!
Finally, resolve that!

The method for JasperReport to display Chinese under linux
is different with that for JFreeChart!
by littlebean
Sat Jan 17, 2004 9:35 am
Forum: JFreeChart
Topic: Q:Display Chinese error in JFreeChart ,ok in JasperReport!
Replies: 11
Views: 14486

I tried to use jsp and javabean to draw a JFreeChat to Jpeg file directly under linux, while the title which should be Chinese is insteaded by rectangle. When I compile the .java and run the jsp , there is no error. I do not know what happened. There is something wrong but I cannot find it. The foll...
by littlebean
Wed Jan 14, 2004 2:22 am
Forum: JFreeChart
Topic: Q:Display Chinese error in JFreeChart ,ok in JasperReport!
Replies: 11
Views: 14486

In fact, I have tried that.
In JasperReport I use the font: SimSun

And I use the following sentence to test whether it is useful, but failed.
chart.setTitle(new TextTitle("中文", new Font("SimSun", Font.PLAIN, 15)));

It still displays error.

Is there any other thing I need to check?

Thanks a lot!
by littlebean
Tue Jan 13, 2004 8:14 am
Forum: JFreeChart
Topic: Q:Display Chinese error in JFreeChart ,ok in JasperReport!
Replies: 11
Views: 14486

Q:Display Chinese error in JFreeChart ,ok in JasperReport!

I have searching the posters before, but I am still puzzling. It is strange that under Windows they both ok. I import and implement the JFreeChart in JasperReport, and then both display Simplfied Chinese Ok. When under linux, after importing the iTextAsian.jar , setting the X11 enviroment, setting t...