the problem of the Chinese code

Stimulsoft Reports.JAVA discussion
heqichao
Posts: 113
Joined: Fri Mar 04, 2016 9:02 am

Re: the problem of the Chinese code

Post 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.
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

Re: the problem of the Chinese code

Post by Vadim »

Hello.
You must install fonts that support chinese code in server side & use it.
For example Arial Unicode MS
Attachments
unic.PNG
unic.PNG (115.14 KiB) Viewed 2651 times
heqichao
Posts: 113
Joined: Fri Mar 04, 2016 9:02 am

Re: the problem of the Chinese code

Post by heqichao »

thank you , it is working !
how to control the font list ? I just want to some fonts in the list.
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

Re: the problem of the Chinese code

Post 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"));
Post Reply