Unity 2Dtoolkit Plugin creates Chinese fonts

Source: Internet
Author: User

1, in doing projects and small demo when you need to use the Chinese font, but 2d Toolkit plug-in demo there is no Chinese font, find some information found that you can make their own favorite and work required fonts.

2, we first need the following tools to assist, first we download a tool called Bitmap font generator, download the link as follows: http://www.angelcode.com/products/bmfont/, install we will not say, open BitMap Font Generator software We start setting up, click Options to select Fontsettings as set: After the setup is complete, proceed to the next step.

2, the next tool to use is notepad++ text Editing tool, download it for installation http://notepad-plus-plus.org/.

3, choose their favorite fonts, we can search the Internet for Chinese characters commonly used, we need to do is to use the common words and their favorite copy paste into the notepad++ Text tool, next we need to set the encoding format in nodepad++. Open notepad++, paste the required text in, r Select all the fonts and then set the encoding format to UTF-8, choose Format/to UTF-8 encoding format, and then save in a custom location, I saved the location is the desktop and named Chinese font. txt.

4. Back to BitMap Font Generator tool, select Edit, select chars from file, such as find yourself before saving the font text on the desktop

5, the next step is to export the settings, again back to the BitMap Font Generator tool, choose options under the export options, such as settings

6, Next is the export, choose options under the Save bitmap font as

7, preview, and finally export their own set of fonts as follows:


You can see the picture preview effect, we choose the EXOPRT options texture width is too large (the above is set to the width is 4096) more than a lot of black parts, can be set according to their own needs more.

8, in the down is in our 2D Toolkit plug-in use, the following is the official website of the tutorial Http://www.unikronsoftware.com/2dtoolkit/docs/latest/tutorial/preparing_a_ Font.html, we are based on the official website of the tutorial is to show our favorite Chinese in the project.

Unity 2Dtoolkit Plugin creates Chinese fonts

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.