Re: [Dhis2-users] The chinese words in chart is crazy words.

2012-10-11 Thread easy
hope so,thanks

At 2012-10-11 12:30:48,Knut Staring knu...@gmail.com wrote:


Unfortunately, it has not yet been resolved. Hopefully,  it can be in the 2.10 
release at the end of this month.
Knut

Sent from my mobile

On Oct 11, 2012 3:58 AM, easy lin...@126.com wrote:




Hi,sir,
But the chart still have crazy words.

--

此致

  easy

莫愁前路无知己,天下谁人不识君。
At 2012-10-10 19:56:31,Jan Henrik Øverland janhenrik.overl...@gmail.com 
wrote:
Hi, this has already been asked (by you) and answered (by me) on this list.


On Tue, Oct 9, 2012 at 5:35 PM, easy lin...@126.com wrote:
I find this function in app.js under visualizer module will replace all chinese 
word with null,so the chinese org name will display none in org tree in 
visualize chart designer.

jsonEncodeString: function(str) {
return typeof str === 'string' ? str.replace(/[^a-zA-Z 
0-9(){}_!+;:?*%#-]+/g,'') : str;
},


At 2012-10-09 22:56:30,easy lin...@126.com wrote:

Hi,Lars,
  I updated from trunk,recompile,still find some  crazy words,though some is 
corrected.
  I wonder if  some chart are normal ,but some other chart arn't display 
normal. why do you think is font problem?




--

此致
easy

莫愁前路无知己,天下谁人不识君。

At 2012-10-09 18:32:30,Lars Helge Øverland larshe...@gmail.com wrote:
Hi Easy


I can see that we are using Tahoma as font for the server-generated charts 
which is not good practice. I have changed to using a logical sans serif font, 
which means that Java will search for the best match within the available fonts 
for this category. This means that you should be able to install a Chinese sans 
serif font on your server to render this properly. 


You can download the latest version from here


http://apps.dhis2.org/ci/


regards,


Lars




 


On Tue, Oct 9, 2012 at 9:44 AM, easy lin...@126.com wrote:

Hi,all, I put some chinese words in chart,some charts are normal ,but some 
charts display abnormbal,crazy words, why? view in attachment.








--

此致

   easy

莫愁前路无知己,天下谁人不识君。
 
thanks!
 



___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp










___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp







___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] The chinese words in chart is crazy words.

2012-10-10 Thread Knut Staring
Unfortunately, it has not yet been resolved. Hopefully,  it can be in the
2.10 release at the end of this month.
Knut

Sent from my mobile
On Oct 11, 2012 3:58 AM, easy lin...@126.com wrote:




 Hi,sir,
 But the chart still have crazy words.
 --
 此致

   easy

 莫愁前路无知己,天下谁人不识君。
 At 2012-10-10 19:56:31,Jan Henrik Øverland janhenrik.overl...@gmail.com
 wrote:

 Hi, this has already been asked (by you) and answered (by me) on this list.

 On Tue, Oct 9, 2012 at 5:35 PM, easy lin...@126.com wrote:

 I find this function in app.js under visualizer module will replace all
 chinese word with null,so the chinese org name will display none in org
 tree in visualize chart designer.

 jsonEncodeString: function(str) {
 return typeof str === 'string' ? str.replace(/[^a-zA-Z
 0-9(){}_!+;:?*%#-]+/g,'') : str;
 },


 At 2012-10-09 22:56:30,easy lin...@126.com wrote:

 Hi,Lars,
   I updated from trunk,recompile,still find some  crazy words,though some
 is corrected.
   I wonder if  some chart are normal ,but some other chart arn't display
 normal. why do you think is font problem?



 --
 此致
 easy

 莫愁前路无知己,天下谁人不识君。

 At 2012-10-09 18:32:30,Lars Helge Øverland larshe...@gmail.com wrote:

 Hi Easy

 I can see that we are using Tahoma as font for the server-generated
 charts which is not good practice. I have changed to using a logical sans
 serif font, which means that Java will search for the best match within the
 available fonts for this category. This means that you should be able to
 install a Chinese sans serif font on your server to render this properly.

 You can download the latest version from here

 http://apps.dhis2.org/ci/

 regards,

 Lars




 On Tue, Oct 9, 2012 at 9:44 AM, easy lin...@126.com wrote:

 Hi,all, I put some chinese words in chart,some charts are normal ,but
 some charts display abnormbal,crazy words, why? view in attachment.






 --
 此致

easy

 莫愁前路无知己,天下谁人不识君。


 thanks!





 ___
 Mailing list: https://launchpad.net/~dhis2-users
 Post to : dhis2-users@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-users
 More help   : https://help.launchpad.net/ListHelp







 ___
 Mailing list: https://launchpad.net/~dhis2-users
 Post to : dhis2-users@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-users
 More help   : https://help.launchpad.net/ListHelp





 ___
 Mailing list: https://launchpad.net/~dhis2-users
 Post to : dhis2-users@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-users
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] The chinese words in chart is crazy words.

2012-10-09 Thread easy
Hi,all, I put some chinese words in chart,some charts are normal ,but some 
charts display abnormbal,crazy words, why? view in attachment.








--

此致

   easy

莫愁前路无知己,天下谁人不识君。
 
thanks!
 attachment: err.jpg___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] The chinese words in chart is crazy words.

2012-10-09 Thread Lars Helge Øverland
Hi Easy

I can see that we are using Tahoma as font for the server-generated charts
which is not good practice. I have changed to using a logical sans serif
font, which means that Java will search for the best match within the
available fonts for this category. This means that you should be able to
install a Chinese sans serif font on your server to render this properly.

You can download the latest version from here

http://apps.dhis2.org/ci/

regards,

Lars




On Tue, Oct 9, 2012 at 9:44 AM, easy lin...@126.com wrote:

 Hi,all, I put some chinese words in chart,some charts are normal ,but some
 charts display abnormbal,crazy words, why? view in attachment.






 --
 此致

easy

 莫愁前路无知己,天下谁人不识君。


 thanks!





 ___
 Mailing list: https://launchpad.net/~dhis2-users
 Post to : dhis2-users@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-users
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp