Cocos Creator 1.7.0 Font problem

Hi all,

I’ve just installed the brand-new version of CC and opening my project all my labels are using the default system font. I get the following error message in the log:

Property spriteFrame of Font ‘font’ is invalid. Using system font instead.

Why? How can I get a more detailed information about the problem?

Best regards,
Zsolt

Let me ask the team to take a look.

Thanks! If you want, I can create a test project to reproduce the bug.

Can you give me test project? I want test it.

Hi,

here is the zipped project file:

FontTest.zip (914.1 KB)

Opening the project:

See the warning message in the bottom log.

Best regards,
Zsolt

HI, Here’s your resource error, file’s resource name is ‘Font.png’, but your texture’s name is ‘font.png’

You need to change the texture name and re-import the resource. :wink:

image

1 Like

We should check the file automatically while importing.

Oh, silly me… Many thanks for the info!!!

Best regards,
Zsolt