Note Cocostudio a bug for custom fonts

Source: Internet
Author: User

The default naming method for fonts generated using Bmfont is this:

Test.fnt Test_0.png


When the two files are copied to Cocostudio use, 100% will not successfully set the success, because after cocostudio1.3, forcing the two files to the same name,

can refer to this link: http://www.cocoachina.com/bbs/simple/?t195385.html, then change to:

Test.fnt Test.png


It should be OK. Well, if this changes, Cocostudio 100% dead to show you


The correct method of modification has the following two kinds:

1) When you get the TEST.FNT and test_0.png generated by Bmfont, change the test.fnt to the same name as the PNG, which is test_0.fnt

2) If you want to change test_0.png to the same name as FNT, you need to change test_0.png to Test.png, then open test.fnt with Notepad and modify the following line:

Page id=0 file= "Uifont_0.png"

Switch

Page id=0 file= "Uifont.png"

I do not know this naming specification can give developers what practical benefits, net chaos, idle egg pain to change a few more bugs it.


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.