Wordwrapping for japanese
-
On 02/09/2013 at 04:05, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R12-R15
Platform: Windows ; Mac ;
Language(s) : C++ ;---------
Hi folks,at some places in our plugin we have to use automatic word wrapping which works fine for english or german. When it comes to japanese it doesn't work at all since we are searching for blanks where we potentially insert the linebreaks. After some research I found out that there is a colletion of rules for line breaking in japanese called Kinsoku shori which is quite complicated. Is there any function in the SDK which could be helpful for this problem?
And is there a way to check if a String contains japanese text?Thanks for any help!
Satara
-
On 02/09/2013 at 04:14, xxxxxxxx wrote:
I should mention that this problem also occurres in the MULTILINEEDIT textfield. The flag DR_MULTILINE_WORDWRAP does not work for japanese strings!