Closed aile1997 closed 1 year ago
Hello @aile1997 , If you can share a sandbox it will help. Thanks
Do not change the json font. If the font is in Chinese, an error is reported. After changing the font library, another error is reported ,Maybe my json file is wrong. May I ask what tool you used to convert the .ttf file
We usually use https://msdf-bmfont.donmccurdy.com/
But other tools such as command lines were already reported as being valid.
If you check the json file for the impacted character, can you notice some missing or invalid properties ?
@aile1997 What I can see with your sandbox is that json and png do not match.
Json file doesn't look to be in msdf format. Png is png for Roboto, not for PangMenZhengDao.
If you go on this site https://msdf-bmfont.donmccurdy.com/ upload PangMenZhengDao ttf, and then write all the characters you will need, you will have both json and png matching the proper msdf format
I changed a json font library and still got an error![image](https://user-images.githubusercontent.com/78535301/194745725-e1446a06-98b8-4fcd-af00-b11eb92bcb65.png)