Cocos2d-x uses FontLabel to draw customer ttf font before v2.0.3(including v2.0.3). Now it uses UIFont directly to draw system fonts and customer ttf fonts. Now, inorder to use customer ttf font, you should do some more work. I will use TestCpp as ex
首先来看一则设计师和前端小白的日常,这是使用 Mac OS 的设计师给的效果图 这是使用 Windows 开发的实际产品页面 我跟你们说,设定字体要按照基本法! (PS: 以上截图不代表网站真实面貌,仅为说明.) 先来看看字体和字族的关系 真的是一图胜千言啊!没看明白的话再来一张图! 这张图里的 Helvetica Neue Ultra Light 算是一个字体,而所列的这些字体都算是 Helvetica Neue 字族的字体. 一个字族需要满足指定字符集 Unicode Table 这张 un