Skip to content
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

Label display differently between Web and Cocos Creator preview #16658

Open
wdzhangchukong opened this issue Jan 3, 2024 · 0 comments
Open
Assignees
Labels
Bug Needs Triage Needs to be assigned by the team

Comments

@wdzhangchukong
Copy link
Contributor

wdzhangchukong commented Jan 3, 2024

Cocos Creator version

3.8.1

System information

macOS 14.1

Issue description

在运行 cocos-benchmark 中的 model-animation 测试例时,Web 平台文字的效果与 Cocos Creator 预览界面的效果不一样。具体表现参考下方截图:
WeChatWorkScreenshot_c92b76d9-3fba-4c84-9a88-2c499664d808
图片左边为 Web 平台的效果,右边为 Cocos Creator 预览界面的效果,在 Web 平台上 Instancing、GFX mem、ModelTris、Model Count 等文字会被换行显示,而在 Cocos Creator 预览界面中显示是一行的。如果简单的把字体大小从 28 调整为 25 就是正常的,但是在字体大小设置为 28 的时候两边表现不一致。

@qiuguohua

Relevant error log output

No response

Steps to reproduce

打开 cocos-benchmark 中的 model-animation 测试例

Minimal reproduction project

No response

@wdzhangchukong wdzhangchukong added Bug Needs Triage Needs to be assigned by the team labels Jan 3, 2024
@qiuguohua qiuguohua self-assigned this Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Needs Triage Needs to be assigned by the team
Projects
None yet
Development

No branches or pull requests

2 participants