Tool: bmfont
Link: https://pan.baidu.com/s/1Oz6hUB-tYWvtqfrDACM_eA
Extraction code: 0000
Open is empty by default
Operate through the image menu bar above
Import the picture, set the id, and keep the others as default. The id is based on the ansii code value.
After the import is completed, you can preview it and then export it
Change the generated .fnt file to a .txt file, and then generate 2 files, import them into the unity project, use NGUI tools to create
Just create it directly (the font created in this way has no material)
Unity ngui uses text, ugui uses xml format
Testers recommends using PNG format
The problem encountered: directly import the generated file into the unity project, use ngui to create the font, and the problem cannot be displayed.
It is said on the Internet: Change the .fnt file generated by bmfont to .txt, then import it, and recreate it to display it. I don’t know why
Record: There was a day for fishing...