1.将xx.ttf字体库加入工程里面。2.在工程的xx-Info.plist文件中新添加一行Fonts provided by application,加上字体库的名称3.引用字体库的名称,设置字体:[UIFontfontWithName:@"fontname"size:24];如果不知道字体名称,...
分类:
移动开发 时间:
2015-05-12 13:24:30
阅读次数:
131
1、必须事先在assets底下创建一fonts文件夹 并放入要使用的字体文件(.ttf)2、写一个manager/** * 设置字体 * */public class FontManager { static String fongUrl = "fonts/fzltxh.ttf"; s...
分类:
移动开发 时间:
2015-05-12 13:10:46
阅读次数:
163
$ yaourt -S font-bh-ttf ttf-freefont ttf-hannom adobe-source-han-sans-cn-fonts font-mathematica wqy-microhei ttf-ms-fonts opendesktop-fonts这些字体装完以后,基本...
分类:
系统相关 时间:
2015-05-12 06:53:58
阅读次数:
243
【一些设置】1.eclipse里的中文注释比较小 Window --> Preferences --> General --> Appearance --> Colors and Fonts --> Basic --> Text Font --> Edit如果在新版eclipse中中文注释明显小于....
分类:
系统相关 时间:
2015-05-07 12:03:24
阅读次数:
182
1.搜索windows-server X86-64机器上C:/windows/fonts的simkai.tts文件,windows7下有时候不行。2.把它拷贝到zabbix的web端的fonts目录下例如:/var/www/html/zabbix/fonts或apache安装目录htdocs/zab...
分类:
Web程序 时间:
2015-05-06 16:41:18
阅读次数:
217
Fashion Store OpenCart 2.X 自适应主题模板 ABC-0588 FASHION STORE OPENCART 2.X 自适应主题模板 ABC-0588 FEATURES HTML5?and?CSS3 Fully?RESPONSIVE?Theme Using Google Fonts Support?Multiple?Langu...
分类:
其他好文 时间:
2015-05-05 19:59:25
阅读次数:
137
1、下载微软simsun字体(其他中文字体也可以,我这里只用了simsun即新宋体) 2、拷贝文件 sudo?cp?simsun?-r?/usr/share/fonts/ 3、载入字体 fc?-cache?-f?-v 4、重新打开IDEA中文显示正常...
分类:
其他好文 时间:
2015-05-05 17:03:42
阅读次数:
116
先安装依赖yum install fontconfig libXrender libXext xorg-x11-fonts-Type1 xorg-x11-fonts-75dpi freetype libpng zlib libjpeg-turbo openssl下载rpm文件wget http://...
分类:
Web程序 时间:
2015-05-04 19:54:46
阅读次数:
325
1. 将字体(ttf 文件)导入项目。2. 在项目plist 文件里的 Fonts provided by application 添加新导入的字体。3. 代码中的调用[aLabel setFont:[UIFont fontWithName:@"a-font-name.ttf" size 100]]...
分类:
移动开发 时间:
2015-05-01 01:44:00
阅读次数:
198
今天做了一个自定义字体的lable程序,设计说系统的不符合艺术气息,所以设计了一份自定义的字体,添加到工程当中。
1.第一步找到你想用的字体的 ttf 格式。加入到你的工程的resouce目录下。
2.在工程的plist中AddRow,“Fonts provided by application” ,然后添加key为item0,value为你刚才加入的Aragones.TTF 。...
分类:
移动开发 时间:
2015-04-28 14:06:31
阅读次数:
138