Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Wordwrapping for japanese

    SDK Help
    0
    2
    208
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        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!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post