Projects > cpp > Issues > Bug #3890

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Ticket #3678:fix incorrect spacing between characters - Only fixed for v3.0 but not on v2.2

Bug #3890 [Closed]
kfikani 2014-02-04 09:01 . Updated over 10 years ago

There was an issue regarding an incorrect spacing between characters for the CCLabelTTF. This issue has been fixed for v3.0 but what about v2.2? The bug remains visible for v2.2 (kindly refer to my post http://www.cocos2d-x.org/forums/6/topics/44056).

My earlier post:
I'm printing a text in my game using CCLabelTTF with a font name "ThinLinesandCurves.ttf". The designer is using the same font on adobe flash. The problem is that when the text is drawn using cocos2dx I get a different result than what the designer gives me on adobe flash.

Does it mean that kerning doesn't work on cocos2dx 2.2? but the documentations says that it does. Anyone got a similar problem?

I've uploaded two pictures showing the difference between cocos2dx and adobe flash. The kerning is clear when you look at the space between the letters "W" and "O".

I've attached the screenshots.

Thanks :)

Screen Shot 2014-01-31 at 1.34.45 PM.png - Rendered using adobe flash (7.2 kB) kfikani, 2014-02-04 09:01

Screen Shot 2014-01-31 at 1.35.19 PM.png - Rendered using cocos2dx (7.5 kB) kfikani, 2014-02-04 09:01

walzer@cocos2d-x.org 2014-10-08 02:48

Redmine issue system is closed, we are using github issue system instead.

This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8331

Atom PDF

Status:Closed
Start date:2014-02-04
Priority:Low
Due date:
Assignee:-
% Done:

0%

Category:all
Target version:-