We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
Corrupt looking characters and incorrect spacing between characters
Corrupt looking characters and incorrect spacing between characters
Bug #3678 [Closed]
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
problem.jpg (162 kB) eq2k, 2014-01-13 09:16
ScriptLite.otf (52.5 kB) eq2k, 2014-01-13 09:16