Bug #3678
By zhangxm Posted 2014-01-26 01:53
Using the following code with cocos2d-x 3 beta, you will see the notdef character is merged with the a’s and ,’s. Additionally you will notice incorrect spacing before the letter f’s and y’s.
Label \*pLabel = Label::createWithTTF(“Melody town, a town of sound, where beautiful music,”, “fonts/ScriptLite.otf”, 52);
pLabel~~\>setAnchorPoint;
pLabel~~\>setPosition(Point(50,50));
pLabel~~\>setColor);
this~~\>addChild(pLabel);
Ref: http://www.cocos2d-x.org/forums/6/topics/42174
Label \*pLabel = Label::createWithTTF(“Melody town, a town of sound, where beautiful music,”, “fonts/ScriptLite.otf”, 52);
pLabel~~\>setAnchorPoint;
pLabel~~\>setPosition(Point(50,50));
pLabel~~\>setColor);
this~~\>addChild(pLabel);
Ref: http://www.cocos2d-x.org/forums/6/topics/42174