Page 7 of 7

Re: the problem of the Chinese code

Posted: Thu Nov 02, 2017 7:34 am
by heqichao
Hello.
I have a problem about chinese code in STIMUSOFT JAVA.
I set the argument data column and title for the chart like this,
Image
but it has problem when I preview the report like this.
Image

I have bought source code (Java-2016.3) , can you send the java code that has fixed this problem for me or tell me how to fix? thanks.

Re: the problem of the Chinese code

Posted: Fri Nov 03, 2017 7:29 am
by Vadim
Hello.
You must install fonts that support chinese code in server side & use it.
For example Arial Unicode MS

Re: the problem of the Chinese code

Posted: Fri Nov 03, 2017 8:00 am
by heqichao
thank you , it is working !
how to control the font list ? I just want to some fonts in the list.

Re: the problem of the Chinese code

Posted: Sat Nov 04, 2017 8:03 am
by Vadim
Hello.
From next version you can use custom font list, like in example:

Code: Select all

StiFontNames.getItems().clear();
StiFontNames.getItems().add(StiFontNames.item("Arial", "1"));
StiFontNames.getItems().add(StiFontNames.item("Arial Black", "2"));