-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The latest Label calculate Size seems not correct with some .ttf font #16399
Comments
@minggo please take a look, does this is a bug? |
@halx99 sorry, cocos studio is canceled, we don't have resource to support it. |
@minggo Well, I think it's not cocosstudio problem, you also can reproduce this issue draw the border of the label, the render text will surpass right edge. |
@halx99 could you please provide a test case? Thanks. |
ok, I will. |
@minggo The test case: https://github.com/halx99/cocos2d-x/tree/labelsizebugtest |
@halx99 i can not find the error from your pasted image. What does the red rectangle mean? |
@minggo The red rectangle is border of the label, normally all letters shoud at inner of the rectangle, you can see the last letter is surpassed a little. |
Yep. |
@dumganhar ok, I will test it |
Steps to Reproduce:
CocosStudio Effect:
The latest Label render effect:
The text was updated successfully, but these errors were encountered: