DirectFB的问题
2016-03-11 17:47
190 查看
使用特定的字体,以及修改字体大小:
IDirectFBFont *fixedfont;
DFBFontDescription fontdesc;
dfb->CreateFont(dfb, NULL, &fontdesc, &fixedfont);
fontdesc.flags = DFDESC_HEIGHT;
fontdesc.height = 30;
dfb->CreateFont(dfb, "/system/fonts/Roboto-Regular.ttf", &fontdesc, &fixedfont);
IDirectFBFont *fixedfont;
DFBFontDescription fontdesc;
dfb->CreateFont(dfb, NULL, &fontdesc, &fixedfont);
fontdesc.flags = DFDESC_HEIGHT;
fontdesc.height = 30;
dfb->CreateFont(dfb, "/system/fonts/Roboto-Regular.ttf", &fontdesc, &fixedfont);
相关文章推荐
- 关于iOS中用AudioFile相关API解码或播放AAC_HE_V2时仅仅能识别单声首22.05k採样率的问题
- 二分图水一波~~~~d带你飞
- Java的内存管理-初识篇
- 系统加固shell脚本
- 2014年第五届蓝桥杯试题(C/C++本科B组)
- 拓扑排序(解析)
- 解决IE6,7下display:inline-block;失效问题。
- java学习笔记-反射机制
- iOS 页面自动布局-NSLayoutConstraint简介
- iOS判断当前时间是否处于某个时间段内
- 一般图匹配带花树
- Java中String s = new String("123")究竟创建了几个对象
- 计算多项式
- web session详解
- 测试
- Android基础知识之控件系列(1)——TextView及自定义动态TextView
- json转MAp对象
- supervisor配置使用
- 搭建git服务
- STL常见问题