wordWrap not work when the text is Chinese
var style = {
fontFamily : 'Microsoft YaHei',
fontSize : '12px',
fontStyle : 'normal',
fontWeight : 'bold',
fill : '#F7EDCA',
stroke : '#4a1850',
strokeThickness : 6,
wordWrap : true,
wordWrapWidth : 100
};

try style breakWords: true
(However, if you want to wrap Chinese while not to break English words, there's no solution except for implementing by yourself)
This is actual desired behaviour for that setting. You see, the way it detects words is by looking for spaces between them. Chinese has no spaces, and so PIXI can't detect words...
Have no fear though... as well as turning on wordWrap, also turn on breakWords. This will gain your desired behaviour. I'd advise having breakWords turned on for Chinese and similar languages, but off for English and similar languages.
Thank you very much!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
This is actual desired behaviour for that setting. You see, the way it detects words is by looking for spaces between them. Chinese has no spaces, and so PIXI can't detect words...
Have no fear though... as well as turning on wordWrap, also turn on breakWords. This will gain your desired behaviour. I'd advise having breakWords turned on for Chinese and similar languages, but off for English and similar languages.