Unity multiple small pictures to generate picture font tool

A tool to generate picture fonts from multiple small pictures corresponding to Chinese and English characters in the Unity editor. The tool will automatically calculate the width and height of each small picture to synthesize the atlas and generate the corresponding picture fonts. There is no need to rely on other third-party splicing atlases. software. The operation is as follows

Note 1: As shown below, the small pictures used to generate the atlas need to be placed in the same directory. At the same time, the name of the small picture needs to be named with the Ascii code of the character corresponding to the picture. Both Chinese and English are supported. For example, the Ascii code of 0 is 48, and the Ascii code of Cheng is 31243. These can be added according to your own needs. Remember to check Read/Write Enabled for small pictures

Note 2: As shown below, the resource saving directory is the finally generated atlas, material, and font directory, which is under the project Asset directory. The atlas width is used to set the width of the finally generated atlas. If the width is not enough, it will automatically wrap. Width 0 defaults to one line.

Project source code link: https://download.csdn.net/download/waterdsm/76282855

Guess you like

Origin blog.csdn.net/waterdsm/article/details/128723818