Hello, I found a auto wrap bug of RichText when use Vietnamese string.
The line breaks in the middle of a Vietnamese word.
“nào” is a word.
There are my test code:
_richText = RichText::createWithXML("con cò bé bé nó đậu cành tre đi không hỏi mẹ biết đi đường nào. words should be divided with space..<br /><br /><font face='fonts/Marker Felt.ttf' color='#ffff00'>HELLO </font><font color='#ffff00'>WORLD</font><br /><br /><font color='#ff00ff'>HELLO</font><font face='fonts/Marker Felt.ttf' color='#ff00ff'> WORLD</font>");
_richText->ignoreContentAdaptWithSize(false);
_richText->setContentSize(Size(100, 100));
_richText->setPosition(Vec2(widgetSize.width / 2, widgetSize.height / 2));
_richText->setLocalZOrder(10);
Please check it
Thanks