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

CCLabel systemfont Helvetica not found on Android #20016

Open
imtrobin opened this issue Aug 7, 2019 · 2 comments
Open

CCLabel systemfont Helvetica not found on Android #20016

imtrobin opened this issue Aug 7, 2019 · 2 comments

Comments

@imtrobin
Copy link

imtrobin commented Aug 7, 2019

I noticed on Android logcat, it will spew a lot of warning about

cocos2d: fullPathForFilename: No file found at Helvetica. Possible missing file.

I had to change the system font to point a local font in Resource folder in this format

"fonts/arial.ttf"

  • cocos2d-x version: 3.17.2
  • devices test on: Xiaomi RedMi
@gestern
Copy link
Contributor

gestern commented Aug 18, 2019

@imbahom You can use Comic Sans for this.

@imtrobin
Copy link
Author

This is the _systemfont defined in cocos2dx CCLabel.cpp line 486 and CCControlButton.cpp line 68, not my code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants