Rev 5515 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5515 | Rev 5520 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | char fontinfo[28]; |
1 | // Truetype library |
Line 2... | Line 2... | ||
2 | 2 | ||
3 | dword libtruetype = #att_libtruetype; |
- | |
4 | 3 | dword libtruetype = #att_libtruetype; |
|
Line 5... | Line 4... | ||
5 | char att_libtruetype[22] = "/sys/lib/truetype.obj\0"; |
4 | char att_libtruetype[22] = "/sys/lib/truetype.obj\0"; |
6 | 5 | ||
7 | dword truetype = #att_truetype; // truetype(unsigned char *s, stbtt_fontinfo *buffer, char *screen1, int width, int height) |
6 | dword truetype = #att_truetype; // truetype(unsigned char *s, stbtt_fontinfo *buffer, char *screen1, int width, int height) |
8 | dword get_length = #att_get_length; // get_length(unsigned char *s, char *buffer, int height, int max_len) |
7 | dword get_length = #att_get_length; // get_length(unsigned char *s, char *buffer, int height, int max_len) |
9 | dword get_width = #att_get_width; // get_width_utf8(unsigned char *s, stbtt_fontinfo *buffer, int height) |
8 | dword get_width = #att_get_width; // get_width_utf8(unsigned char *s, stbtt_fontinfo *buffer, int height) |
10 | dword text_out = #att_text_out; // text_out(unsigned char *string, char *buffer, int height, int color,int back_color, int x, int y) |
9 | dword text_out = #att_text_out; // text_out(unsigned char *string, char *buffer, int height, int color,int back_color, int x, int y) |
11 | dword init_font = #att_init_font; // init_font(stbtt_fontinfo *font,unsigned char *FontData) |
- | |
12 | dword text_out_mem = #att_text_out_mem; // text_out_mem(unsigned char *string, stbtt_fontinfo *buffer, int height, int color,int back_color) |
10 | dword init_font = #att_init_font; // init_font(stbtt_fontinfo *font,unsigned char *FontData) |
Line 13... | Line 11... | ||
13 | dword text_scale_EM = #att_text_scale; // scale_EM(stbtt_fontinfo *buffer, int size) |
11 | dword text_out_mem = #att_text_out_mem; // text_out_mem(unsigned char *string, stbtt_fontinfo *buffer, int height, int color,int back_color) |
14 | $DD 2 dup 0 |
12 | $DD 2 dup 0 |
15 | 13 | ||
16 | char att_truetype[] = "truetype"; |
14 | char att_truetype[] = "truetype"; |
17 | char att_get_length[] = "get_length"; |
- | |
18 | char att_get_width[] = "get_width"; |
15 | char att_get_length[] = "get_length"; |
19 | char att_text_out[] = "text_out"; |
16 | char att_get_width[] = "get_width"; |
Line 20... | Line 17... | ||
20 | char att_init_font[] = "init_font"; |
17 | char att_text_out[] = "text_out"; |
21 | char att_text_out_mem[] = "text_out_mem"; |
18 | char att_text_out_mem[] = "text_out_mem"; |
Line -... | Line 19... | ||
- | 19 | char att_init_font[] = "init_font"; |
|
- | 20 | ||
22 | char att_text_scale[] = "scale_EM"; |
21 | //============================================================ |
23 | 22 | //============================================================ |
|
24 | //============================================================ |
23 | |
25 | //============================================================ |
24 | char fontinfo[28]; |
26 | 25 |