Thursday, September 29, 2022
HomeGame Developmentcache RichText font in Cocos Creator 3.5.0 - Cocos Creator

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 accurately loaded after I run it on browser for debugging.

However the issue is that after I run it on the android gadget, the font isn’t loaded and it use Arial as an alternative.

Is there any approach to remedy it? I keep in mind that we now have Cache in Label part, however I couldn’t discovered it on RichText.

I’m making a sport 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 isn’t out there on the RichText in 3.5.0

Are you able to present the font you’re utilizing now?

It’s displaying on my screenshot above.
Font is Silkscreen-Common.ttf

Are you able to give me your font for check?

you possibly can obtain it right here: https://fonts.google.com/obtain?household=Silkscreen

Anyway, it occur on all fonts that I attempted. Even Calibri…

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments