天嵌二次封装库使用手册
V2.1.2
首页
类
文件
文件列表
文件成员
font.h
浏览该文件的文档.
1
/*
2
* font.h -- `Soft' font definitions
3
*
4
* Created 1995 by Geert Uytterhoeven
5
*
6
* This file is subject to the terms and conditions of the GNU General Public
7
* License. See the file COPYING in the main directory of this archive
8
* for more details.
9
*/
10
11
#ifndef _VIDEO_FONT_H
12
#define _VIDEO_FONT_H
13
29
#include <linux/types.h>
30
34
struct
fbcon_font_desc
{
35
int
idx
;
36
char
*
name
;
37
int
width
,
height
;
38
unsigned
char
*
data
;
39
int
pref
;
40
};
41
42
#define VGA8x8_IDX 0
43
#define VGA8x16_IDX 1
44
#define PEARL8x8_IDX 2
45
#define VGA6x11_IDX 3
46
#define SUN8x16_IDX 4
47
#define SUN12x22_IDX 5
48
#define ACORN8x8_IDX 6
49
50
extern
struct
fbcon_font_desc
font_vga_8x8,
51
font_vga_8x16
;
52
53
#define MAX_FONT_NAME 32
54
55
#endif
/* _VIDEO_FONT_H */
fbcon_font_desc
字体的描述结构体
Definition:
font.h:34
fbcon_font_desc::idx
int idx
字体的索引号
Definition:
font.h:35
fbcon_font_desc::data
unsigned char * data
字模的起始指针
Definition:
font.h:38
fbcon_font_desc::pref
int pref
额外信息,平台用
Definition:
font.h:39
fbcon_font_desc::name
char * name
字体的描述(字体名)
Definition:
font.h:36
fbcon_font_desc::width
int width
Definition:
font.h:37
font_vga_8x16
struct fbcon_font_desc font_vga_8x8 font_vga_8x16
fbcon_font_desc::height
int height
字模的宽和高
Definition:
font.h:37
tqinclude
fbutil
font.h
制作者
1.8.11