Thursday, September 29, 2022
HomeGame DevelopmentThe right way to cache RichText font in Cocos Creator 3.5.0 -...

The right way to cache RichText font in Cocos Creator 3.5.0 – Cocos Creator


I attempted to make use of RichText part and use my very own font (not system font). The fonts are OK and appropriately loaded once I run it on browser for debugging.

However the issue is that once I run it on the android gadget, the font just isn’t loaded and it use Arial as a substitute.

Is there any technique to clear up it? I do not forget that we have now Cache in Label part, however I couldn’t discovered it on RichText.

I’m making a recreation for Android gadget utilizing Cocos Creator 3.5.0


Verify if the font-family and font-name of ttf fonts are the identical.

The Font-Household property just isn’t accessible on the RichText in 3.5.0

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments