Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Right-to-left text support. (Read 2662 times)
Mrini
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 34
Joined: Aug 18th, 2009
Right-to-left text support.
Mar 22nd, 2010 at 9:53am
Print Post  
Hi,

Can anyone tell me how to support the Arabic text (text from right to left) in linktable cells.


Also why the jdiagram doesen't draw well  on Linux and MAC.

Thanks.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Right-to-left text support.
Reply #1 - Mar 22nd, 2010 at 1:28pm
Print Post  
Our text formatter arranges words only in left-to-right order. We'll try to add right-to-left support in the next few days.

Stoyan
  
Back to top
 
IP Logged
 
Mrini
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 34
Joined: Aug 18th, 2009
Re: Right-to-left text support.
Reply #2 - Mar 23rd, 2010 at 5:58am
Print Post  
Hi Stoyan,

Thanks for the quick response.

In that case can I add swing components like JTextArea in Linktable cell so that I can create custom cell to support this functionality.
thanks.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Right-to-left text support.
Reply #3 - Mar 23rd, 2010 at 8:59am
Print Post  
Hi,

We have added a TextFormat.setRightToLeft method:

https://mindfusion.eu/_beta/jdiagram301.zip

Call it for the TextFormat property of nodes that should display Arabic text. At this time all text will be displayed in one direction, so you won't be able to mix Arabic with English. If you need that, you could handle custom-draw events to render the text.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint