cocos2d/x 自带字体(label)
CCLabelTTF* label1 = CCLabelTTF::labelWithString("1掼蛋as", "AppleGothic", 15);
label1->setPosition(ccp(50, 50));
addChild(label1);
CCLabelTTF* label2 = CCLabelTTF::labelWithString("2掼蛋as", "HiraKakuProN-W6", 15);
label2->setPosition(ccp(50, 80));
addChild(label2);
CCLabelTTF* label3 = CCLabelTTF::labelWithString("3掼蛋as", "HiraKakuProN-W3", 15);
label3->setPosition(ccp(50, 110));
addChild(label3);
CCLabelTTF* label4 = CCLabelTTF::labelWithString("4掼蛋as", "MarkerFelt-Thin", 15);
label4->setPosition(ccp(50, 140));
addChild(label4);
CCLabelTTF* label5 = CCLabelTTF::labelWithString("5掼蛋as", "STHeitiK-Medium", 15);
label5->setPosition(ccp(50, 170));
addChild(label5);
CCLabelTTF* label6 = CCLabelTTF::labelWithString("6掼蛋as", "STHeitiK-Light", 15);
label6->setPosition(ccp(50, 200));
addChild(label6);
CCLabelTTF* label7 = CCLabelTTF::labelWithString("7掼蛋as", "TimesNewRomanPSMT", 15);
label7->setPosition(ccp(50, 230));
addChild(label7);
CCLabelTTF* label8 = CCLabelTTF::labelWithString("8掼蛋as", "Helvetica-Oblique", 15);
label8->setPosition(ccp(50, 260));
addChild(label8);
CCLabelTTF* label9 = CCLabelTTF::labelWithString("9掼蛋as", "Helvetica-BoldOblique", 15);
label9->setPosition(ccp(50, 290));
addChild(label9);
CCLabelTTF* label10 = CCLabelTTF::labelWithString("10掼蛋as", "Helvetica", 15);
label10->setPosition(ccp(130, 50));
addChild(label10);
CCLabelTTF* label11 = CCLabelTTF::labelWithString("11掼蛋as", "Helvetica-Bold", 15);
label11->setPosition(ccp(130, 80));
addChild(label11);
CCLabelTTF* label12 = CCLabelTTF::labelWithString("12掼蛋as", "TimesNewRomanPS-BoldMT", 15);
label12->setPosition(ccp(130, 110));
addChild(label12);
CCLabelTTF* label13 = CCLabelTTF::labelWithString("13掼蛋as", "TimesNewRomanPS-BoldItalicMT", 15);
label13->setPosition(ccp(130, 140));
addChild(label13);
CCLabelTTF* label14 = CCLabelTTF::labelWithString("14掼蛋as", "TimesNewRomanPS-ItalicMT", 15);
label14->setPosition(ccp(130, 170));
addChild(label14);
CCLabelTTF* label15 = CCLabelTTF::labelWithString("15掼蛋as", "Verdana-Bold", 15);
label15->setPosition(ccp(130, 200));
addChild(label15);
CCLabelTTF* label16 = CCLabelTTF::labelWithString("16掼蛋as", "Verdana-BoldItalic", 15);
label16->setPosition(ccp(130, 230));
addChild(label16);
CCLabelTTF* label17 = CCLabelTTF::labelWithString("17掼蛋as", "Verdana", 15);
label17->setPosition(ccp(130, 260));
addChild(label17);
CCLabelTTF* label18 = CCLabelTTF::labelWithString("18掼蛋as", "Verdana-Italic", 15);
label18->setPosition(ccp(130, 290));
addChild(label18);
CCLabelTTF* label19 = CCLabelTTF::labelWithString("19掼蛋as", "Georgia-Bold", 15);
label19->setPosition(ccp(210, 50));
addChild(label19);
CCLabelTTF* label20 = CCLabelTTF::labelWithString("20掼蛋as", "Georgia", 15);
label20->setPosition(ccp(210, 80));
addChild(label20);
CCLabelTTF* label21 = CCLabelTTF::labelWithString("掼蛋as21", "Georgia-BoldItalic", 15);
label21->setPosition(ccp(210, 110));
addChild(label21);
CCLabelTTF* label22 = CCLabelTTF::labelWithString("掼蛋as22", "Georgia-Italic", 15);
label22->setPosition(ccp(210, 140));
addChild(label22);
CCLabelTTF* label23 = CCLabelTTF::labelWithString("掼蛋as23", "ArialRoundedMTBold", 15);
label23->setPosition(ccp(210, 170));
addChild(label23);
CCLabelTTF* label24 = CCLabelTTF::labelWithString("掼蛋as24", "TrebuchetMS-Italic", 15);
label24->setPosition(ccp(210, 200));
addChild(label24);
CCLabelTTF* label25 = CCLabelTTF::labelWithString("掼蛋as25", "TrebuchetMS", 15);
label25->setPosition(ccp(210, 230));
addChild(label25);
CCLabelTTF* label26 = CCLabelTTF::labelWithString("掼蛋as26", "Trebuchet-BoldItalic", 15);
label26->setPosition(ccp(210, 260));
addChild(label26);
CCLabelTTF* label27 = CCLabelTTF::labelWithString("掼蛋as27", "TrebuchetMS-Bold", 15);
label27->setPosition(ccp(210, 290));
addChild(label27);
CCLabelTTF* label28 = CCLabelTTF::labelWithString("掼蛋as28", "STHeitiTC-Light", 15);
label28->setPosition(ccp(290, 50));
addChild(label28);
CCLabelTTF* label29 = CCLabelTTF::labelWithString("掼蛋as29", "STHeitiTC-Medium", 15);
label29->setPosition(ccp(290, 80));
addChild(label29);
CCLabelTTF* label30 = CCLabelTTF::labelWithString("掼蛋as30", "GeezaPro-Bold", 15);
label30->setPosition(ccp(290, 110));
addChild(label30);
CCLabelTTF* label31 = CCLabelTTF::labelWithString("掼蛋as31", "GeezaPro", 15);
label31->setPosition(ccp(290, 140));
addChild(label31);
CCLabelTTF* label32 = CCLabelTTF::labelWithString("掼蛋as32", "Courier", 15);
label32->setPosition(ccp(290, 170));
addChild(label32);
CCLabelTTF* label33 = CCLabelTTF::labelWithString("掼蛋as33", "Courier-BoldOblique", 15);
label33->setPosition(ccp(290, 200));
addChild(label33);
CCLabelTTF* label34 = CCLabelTTF::labelWithString("掼蛋as34", "Courier-Oblique", 15);
label34->setPosition(ccp(290, 230));
addChild(label34);
CCLabelTTF* label35 = CCLabelTTF::labelWithString("掼蛋as35", "Courier-Bold", 15);
label35->setPosition(ccp(290, 260));
addChild(label35);
CCLabelTTF* label36 = CCLabelTTF::labelWithString("掼蛋as36", "ArialMT", 15);
label36->setPosition(ccp(290, 290));
addChild(label36);
CCLabelTTF* label37 = CCLabelTTF::labelWithString("掼蛋as37", "Arial-BoldMT", 15);
label37->setPosition(ccp(370, 50));
addChild(label37);
CCLabelTTF* label38 = CCLabelTTF::labelWithString("掼蛋as38", "Arial-BoldItalicMT", 15);
label38->setPosition(ccp(370, 80));
addChild(label38);
CCLabelTTF* label39 = CCLabelTTF::labelWithString("掼蛋as39", "Arial-ItalicMT", 15);
label39->setPosition(ccp(370, 110));
addChild(label39);
CCLabelTTF* label40 = CCLabelTTF::labelWithString("掼蛋as40", "STHeitiJ-Medium", 15);
label40->setPosition(ccp(370, 140));
addChild(label40);
CCLabelTTF* label41 = CCLabelTTF::labelWithString("掼蛋as41", "STHeitiJ-Light", 15);
label41->setPosition(ccp(370, 170));
addChild(label41);
CCLabelTTF* label42 = CCLabelTTF::labelWithString("掼蛋as42", "ArialHebrew", 15);
label42->setPosition(ccp(370, 200));
addChild(label42);
CCLabelTTF* label43 = CCLabelTTF::labelWithString("掼蛋as43", "ArialHebrew-Bold", 15);
label43->setPosition(ccp(370, 230));
addChild(label43);
CCLabelTTF* label44 = CCLabelTTF::labelWithString("掼蛋as44", "CourierNewPS-BoldMT", 15);
label44->setPosition(ccp(370, 260));
addChild(label44);
CCLabelTTF* label45 = CCLabelTTF::labelWithString("掼蛋as45", "CourierNewPS-ItalicMT", 15);
label45->setPosition(ccp(370, 290));
addChild(label45);
CCLabelTTF* label46 = CCLabelTTF::labelWithString("掼蛋as46", "CourierNewPS-BoldItalicMT", 15);
label46->setPosition(ccp(450, 50));
addChild(label46);
CCLabelTTF* label47 = CCLabelTTF::labelWithString("掼蛋as47", "CourierNewPSMT", 15);
label47->setPosition(ccp(450, 80));
addChild(label47);
CCLabelTTF* label48 = CCLabelTTF::labelWithString("掼蛋as48", "Thonburi-Bold", 15);
label48->setPosition(ccp(450, 110));
addChild(label48);
CCLabelTTF* label49 = CCLabelTTF::labelWithString("掼蛋as49", "AmericanTypewriter", 15);
label49->setPosition(ccp(450, 140));
addChild(label49);
CCLabelTTF* label50 = CCLabelTTF::labelWithString("掼蛋as50", "AmericanTypewriter-Bold", 15);
label50->setPosition(ccp(450, 170));
addChild(label50);
CCLabelTTF* label51 = CCLabelTTF::labelWithString("掼蛋as51", "STHeitiSC-Medium", 15);
label51->setPosition(ccp(450, 200));
addChild(label51);
CCLabelTTF* label52 = CCLabelTTF::labelWithString("掼蛋as52", "STHeitiSC-Light", 15);
label52->setPosition(ccp(450, 230));
addChild(label52);
CCLabelTTF* label53 = CCLabelTTF::labelWithString("掼蛋as53", "HelveticaNeue", 15);
label53->setPosition(ccp(450, 260));
addChild(label53);
CCLabelTTF* label54 = CCLabelTTF::labelWithString("掼蛋as54", "HelveticaNeue", 15);
label54->setPosition(ccp(450, 290));
addChild(label54);
CCLabelTTF* label55 = CCLabelTTF::labelWithString("掼蛋as55", "HelveticaNeue-Bold", 15);
label55->setPosition(ccp(50, 20));
addChild(label55);
CCLabelTTF* label56 = CCLabelTTF::labelWithString("掼蛋as56", "Zapfino", 15);
label56->setPosition(ccp(130, 20));
addChild(label56);
CCLabelTTF* label57 = CCLabelTTF::labelWithString("掼蛋as57", "Thonburi", 15);
label57->setPosition(ccp(210, 20));
addChild(label57);
CCLabelTTF* label58 = CCLabelTTF::labelWithString("掼蛋as58", "Marker Felt", 15);
label58->setPosition(ccp(290, 20));
addChild(label58);
cocos2d/x 自带字体(label)的更多相关文章
- window自带字体
一.在默认情况下, Windows 默认提供下列字体: Windows 95/98/98SE 宋体.黑体.楷体_GB2312.仿宋_GB2312 Windows XP/2000/2003/ME/NT ...
- 被遗忘的宝藏-LaTeX发行版自带字体&自己一些字体心得
KMC大作,如果用xelatex的话,这些知识仅仅作为大家了解.希望对于学习latex有所裨益.原文地址:http://bbs.ctex.org/viewthread.php?tid=43596&am ...
- QT的的字体使用(全局自带字体特别好用)
WIN10下的默认字体居然是Segoe UI,造成各Windows版本显示不一致,可以这样修改Windows的默认字体(重启后生效): [HKEY_LOCAL_MACHINE>>SOFTW ...
- itextpdf添加非自带字体(例如微软雅黑)
找到需要的字体,例如 在windows系统中找到需要字体,本例使用微软雅黑,使用C:\\Windows\\Fonts\\msyh.ttf. 代码如下: /** * 创建pdf,使用微软雅黑字体 * * ...
- 扩展layui中的自带字体图标
项目中,虽然layui的字体图标库中已经有了1000多个图标了,但是也有时候不能满足我们自定义图标的需求,所以需要进行自定义,具体步骤如下: 1.在iconfont上找到自己喜欢的图标,也可以上传ui ...
- QT加载自带字体
#include <QCoreApplication> #include <QStringList> #include <QFontDatabase> #inclu ...
- qt 怎么让程序自带字体,就是说在操作系统上没有的字体
字体要加到.qrc文件中 QString Widget::loadFontFamilyFromTTF() { static QString font; static bool loaded = fal ...
- iOS使用带字体图标的UIButton(支持各种方向)
简书地址:http://www.jianshu.com/p/1c288440754d demo地址:https://github.com/Brances/ZMProject
- [转] iOS9系统自带字体
Family: Thonburi Font: Thonburi-Bold Font: Thonburi Font: Thonburi-Light 1 2 3 4 Family: Khmer Sanga ...
随机推荐
- GMF:如何让网格显示在background,而不是foreground
前言 很久没写文章了,准备写一系列关于Eclipse RCP /Plugin的文章. 这些文章都是trouble shooting性质的,不准备写的很细,当你碰到这样的问题,google到时,能帮你把 ...
- Intent意图
1.显式Intent button1.setOnClickListener(new View.OnClickListener() { @Override public void onClick(Vie ...
- sql2008 表名为全数字时查询报错
今天遇到个很奇葩的问题,在写一个应用程序时需要查询表的数据,但是表名是全数字的,直接查询会报错,于是想到给111的表名加一对中括号:即——>select * from [111] 刚开始还是报错 ...
- GaugeControl 数字时钟,温度计,仪表盘
https://documentation.devexpress.com/#WindowsForms/CustomDocument18217 This topic will guide you thr ...
- Sprint(第四天11.17)
燃尽图
- <开心一笑> 前端工程师你们伤不起!
前端工程师你们伤不起!! 来自: 刻铭 2011-03-11 14:09:53 前端工程师伤不起 老子几年前进了互联网圈!!!!!!!成了前端工程师,名字是不是很拉风,有木有!!!!!!!! 尼玛 ...
- Shell 语法之输入输出
Linux 使用文件描述符标识每个文件对象.文件描述符是一个非负整数,可以唯一地标识会话中打开的文件.每个进程中最多可以有9个打开文件的描述符. Linux 标准文件描述符 文件描述符 缩写 描述 0 ...
- (转) linux之sort用法
sort命令是帮我们依据不同的数据类型进行排序,其语法及常用参数格式: sort [-bcfMnrtk][源文件][-o 输出文件] 补充说明:sort可针对文本文件的内容,以行为单位来排序. 参 数 ...
- bootstrap selectpicker
mark 一下使用 bootstrap selectpicker 遇到的一个小issue,作为下次查错使用 $('.selectpicker').selectpicker('val', 'Mustar ...
- Hbase之修改表结构
import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; impo ...