在Flex4中嵌入字体
如果要使用的字体不是系统字体,可以把字体嵌入到Flash中,然后引用该字体。不过字体文件一般都比较大,慎重使用该功能。
官方例子
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f5f.html
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | <?xml version= "1.0" encoding= "utf-8" ?> <s:Application xmlns:fx= "http://ns.adobe.com/mxml/2009" <s:layout> <s:BasicLayout/> </s:layout> <fx:Style> @font-face{ src:url( "W8.TTF" ); font-family:W8; } </fx:Style> <fx:Declarations> <!-- 将非可视元素(例如服务、值对象)放在此处 --> </fx:Declarations> <s:Label x= "104" y= "107" text= "这是一个测试" fontSize= "32" fontFamily= "W8" /> </s:Application> |
低调大师中文资讯倾力打造互联网数据资讯、行业资源、电子商务、移动互联网、网络营销平台。
持续更新报道IT业界、互联网、市场资讯、驱动更新,是最及时权威的产业资讯及硬件资讯报道平台。
转载内容版权归作者及来源网站所有,本站原创内容转载请注明来源。
- 上一篇
hive subprocess failed with code X 的错误码对应信息
PipeMapRed.waitOutputThreads(): subprocess failed with code X ,这里code X对应的信息如下: error code 1: Operation not permitted error code 2: No such file or directory error code 3: No such process error code 4: Interrupted system call error code 5: Input/output error error code 6: No such device or address error code 7: Argument list too long error code 8: Exec format error error code 9: Bad file descriptor error code 10: No child processes error code 11: Resource temporarily unavailable error code 12: C...
- 下一篇
hadoop命令——hdfs
hdfs是hadoop大体系下的分布式文件管理系统,是英文Hadoop Distributed File System的简写,其常用命令如下: 一:fs命令(和Linux终端运行命令一致,也是hdfs最常用命令) 二:其他相关命令 1、hadoop 归档文件shell:hadoop archive -archiveName file.har -p /gyt/input /gyt/output (file.har为归档后的文件 /gyt/inut/为多个文件所在目录 /gyt/output/是归档后的输出目录) 2、运行JAR程序包shell:hadoop jar /home/hadoop/hadoop-1.1.2/hadoop-examples-1.1.2.jar wordcount /user/hadoop/input output(XXX.jar是程序目录,wordcount是程序入口,XXX/input是文件输入源,output是文件输出源) 4、查看HDFS状态:hadoop dfsadmin -report比如有哪些datanode,每个datanode的情况 5、离开安全模...
相关文章
文章评论
共有0条评论来说两句吧...
文章二维码
点击排行
推荐阅读
最新文章
- CentOS7编译安装Cmake3.16.3,解决mysql等软件编译问题
- CentOS7编译安装Gcc9.2.0,解决mysql等软件编译问题
- Docker快速安装Oracle11G,搭建oracle11g学习环境
- CentOS8编译安装MySQL8.0.19
- MySQL8.0.19开启GTID主从同步CentOS8
- SpringBoot2全家桶,快速入门学习开发网站教程
- CentOS8,CentOS7,CentOS6编译安装Redis5.0.7
- CentOS7,CentOS8安装Elasticsearch6.8.6
- CentOS8安装MyCat,轻松搞定数据库的读写分离、垂直分库、水平分库
- Red5直播服务器,属于Java语言的直播服务器