Text Layout with Japanese


#1

Hi, there

I’m having a trouble of the text layout related to Japanese(maybe also Korean, Chinese), so I send the image with jucedemo and TextEdit on Mac.

We cannot input Japanese with a free layout, and I suppose JUCE handles Japanese which doesn’t have whitespace as one word like English.

best regards,
Jazzunko


#2

That’s not specific to japanese, it’s just the way that it works - if it can’t fit the next word on a line, it begins a new line and then line-wraps if it still doesn’t fit. I guess it could be a bit smarter and look-ahead for the case where the word wouldn’t fit on an entire line either.