cocos2dx LabelTTF在windows下加载字体注意

烁灵 posted @ 2014年12月31日 12:15 in Cocos2dx with tags cocos2dx labelttf ttf , 4372 阅读

网上教程都是坑啊(╯‵□′)╯︵┻━┻

坑啊(╯‵□′)╯︵┻━┻

1.加载系统字体

cc.LabelTTF:create("balabala","simhei",24)

没什么好说的,第二个参数写字体名

2.加载外部字体

cc.LabelTTF:create("balabala","fonts/Felt.ttf",24)

注意,第二个参数填字体文件路径,并且字体文件的文件名要写成实际字体名

被坑死了_(:3ゝ∠)_

 

 

 

Avatar_small
symphony mobile pric 说:
2018年10月08日 17:27

what is this front all browser support?

Avatar_small
f88tw┃华歌尔 说:
2020年3月03日 15:48

敬启者:个人小网站希望大家多多支持 感谢您对我们热心的支持 f88tw┃华歌尔┃I appreciate your kind assistance. f88tw|墓园|捡骨流程|捡骨费用|捡骨时间|禁忌|捡骨颜色|捡骨师|新竹|时间|台北|桃园|苗栗|头份|火化|晋塔|安葬|法事|捡骨|看日子|墓穴|墓园|坟墓|看日子|乞丐|http://mypaper.m.pchome.com.tw/f88tw

Avatar_small
ali 说:
2021年1月26日 16:06

I should assert barely that its astounding! The blog is informational also always fabricate amazing entitys. น้ำยาpod

Avatar_small
ali 说:
2021年2月08日 21:58

In this article understand the most important thing, the item will give you a keyword rich link a great useful website page: 그래프사이트

Avatar_small
صيانة غسالات بالرياض 说:
2021年3月03日 20:06

A company specializing in the maintenance of home appliances in Riyadh and Jeddah

Avatar_small
افضل شركة صيانة غسال 说:
2021年3月03日 20:07

A company specializing in the maintenance of home appliances in Riyadh and Jeddah

Avatar_small
شركة صيانة ثلاجات 说:
2021年3月03日 20:08

A company specializing in the maintenance of home appliances in Riyadh and Jeddah

Avatar_small
شركة صيانة افران 说:
2021年3月03日 20:09

A company specializing in the maintenance of home appliances in Riyadh and Jeddah

Avatar_small
شركة مكافحة حشرات 说:
2021年3月03日 20:11

A company specializing in the maintenance of home appliances in Riyadh and Jeddah

Avatar_small
شركة مكافحة الصراصير 说:
2021年3月03日 20:12

A company specializing in the maintenance of home appliances in Riyadh and Jeddah

Avatar_small
شركة كشف تسربات المي 说:
2021年3月03日 20:18

A company specializing in the maintenance of home appliances in Riyadh and Jeddah

Avatar_small
كشف تسرب الغاز 说:
2021年3月03日 20:19

A company specializing in the maintenance of home appliances in Riyadh and Jeddah

Avatar_small
كشف تسرب المياه 说:
2021年3月03日 20:20

A company specializing in the maintenance of home appliances in Riyadh and Jeddah

Avatar_small
لحام الفيبر 说:
2021年3月03日 20:21

A company specializing in the maintenance of home appliances in Riyadh and Jeddah

Avatar_small
 https://idnpoker97. 说:
2021年4月03日 07:03

Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include.

Avatar_small
poker 说:
2021年4月03日 10:11

Listed here you’ll learn it is important, them offers the link in an helpful webpage

Avatar_small
Outsource SEO Servic 说:
2021年4月04日 08:41

Thank you very much for this great post.

Avatar_small
http://www.loft-plan 说:
2021年4月06日 07:33

Nice blog and absolutely outstanding. You can do something much better but i still say this perfect.Keep trying for the best.

Avatar_small
pawn shop scottsdale 说:
2021年4月07日 07:26

Thanx for a very informative blog. Where else may I get that type of information written in such a perfect approach? I’ve a challenge that I’m just now running on, and I’ve been on the look out for such information.

Avatar_small
f88tw 说:
2021年4月07日 20:39

敬启者:个人小网站希望大家多多支持 感谢您对我们热心的支持 f88tw┃华歌尔┃I appreciate your kind assistance. f88tw粗工粗工内容 粗工粗工内容 |墓园|捡骨流程|捡骨费用|捡骨时间|禁忌|捡骨颜色|捡骨师|新竹|时间|台北|桃园|苗栗|头份|https://mypaper.m.pchome.com.tw/f88tw

Avatar_small
f88tw 说:
2021年4月07日 20:41

敬启者:个人小网站希望大家多多支持 感谢您对我们热心的支持 f88tw┃华歌尔┃I appreciate your kind assistance. f88tw粗工粗工内容 粗工粗工内容 |墓园|捡骨流程|捡骨费用|捡骨时间|禁忌|捡骨颜色|捡骨师|新竹|时间|台北|桃园|苗栗|头份|https://mypaper.m.pchome.com.tw/f88tw

Avatar_small
allergies 说:
2021年4月10日 13:34

I feel really happy to have seen your webpage and look forward to so many more entertaining times reading here. Thanks once more for all the details.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter