mirror of
https://github.com/ddv2005/AirsoftTracker.git
synced 2025-08-17 09:06:11 +00:00
Initial commit
This commit is contained in:
28
fonts/calibri_14/L1/calibri_14_L1.c
Normal file
28
fonts/calibri_14/L1/calibri_14_L1.c
Normal file
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
This file is automatically generated
|
||||
calibri_14_L1
|
||||
C Source
|
||||
*/
|
||||
|
||||
#include "App_Common.h"
|
||||
|
||||
#define FONT_HANDLE (1)
|
||||
#define FONT_FILE_ADDRESS (RAM_G + 153600)
|
||||
#define FIRST_CHARACTER (32)
|
||||
|
||||
void Load_Font()
|
||||
{
|
||||
Gpu_CoCmd_Dlstart(phost);
|
||||
App_WrCoCmd_Buffer(phost, CLEAR(1, 1, 1));
|
||||
App_WrCoCmd_Buffer(phost, COLOR_RGB(255, 255, 255));
|
||||
Gpu_Hal_LoadImageToMemory(phost, "path\\to\\calibri_14_L1.raw", FONT_FILE_ADDRESS, LOAD);
|
||||
|
||||
Gpu_CoCmd_SetFont2(phost, FONT_HANDLE, FONT_FILE_ADDRESS, FIRST_CHARACTER);
|
||||
Gpu_CoCmd_Text(phost, 0, 0, FONT_HANDLE, 0, "AaBbCcDdEeFf");
|
||||
App_WrCoCmd_Buffer(phost, DISPLAY());
|
||||
Gpu_CoCmd_Swap(phost);
|
||||
App_Flush_Co_Buffer(phost);
|
||||
Gpu_Hal_WaitCmdfifo_empty(phost);
|
||||
}
|
||||
|
||||
/* end of file */
|
1
fonts/calibri_14/L1/calibri_14_L1.json
Normal file
1
fonts/calibri_14/L1/calibri_14_L1.json
Normal file
@@ -0,0 +1 @@
|
||||
{"name": "calibri_14_L1", "type": "legacyfont", "format": "L1", "size": 14, "base_line": 11, "caps_height": 9, "mid_line": 7}
|
BIN
fonts/calibri_14/L1/calibri_14_L1.raw
Normal file
BIN
fonts/calibri_14/L1/calibri_14_L1.raw
Normal file
Binary file not shown.
110
fonts/calibri_14/L1/calibri_14_L1.rawh
Normal file
110
fonts/calibri_14/L1/calibri_14_L1.rawh
Normal file
@@ -0,0 +1,110 @@
|
||||
/*Command Line: fnt_cvt.exe -f legacy -C BT81X -i Q:/fonts/calibri.ttf -s 14 -d 153600 -c setfont2 -l 32 -a -o D:/Projects/Embedded/AirsoftTracker/fonts*/
|
||||
|
||||
/*95 characters have been converted */
|
||||
|
||||
/* 148 Metric Block Begin +++ */
|
||||
/*('file properties ', 'format ', 'L1', ' stride ', 2, ' width ', 14, 'height', 14)*/
|
||||
{
|
||||
/* Widths */
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,5,6,7,7,10,10,3,4,4,7,7,4,4,4,6,7,7,7,7,7,7,7,7,7,7,4,4,7,7,7,6,13,8,8,8,9,7,6,9,9,4,4,7,6,12,9,9,7,10,8,6,7,9,8,13,7,7,7,4,6,4,7,8,4,7,7,6,7,7,5,7,7,3,4,7,3,11,7,7,7,7,5,5,5,7,7,10,6,7,6,4,6,5,7,0,
|
||||
/* Format */
|
||||
1,0,0,0,
|
||||
/* Stride */
|
||||
2,0,0,0,
|
||||
/* Max Width */
|
||||
14,0,0,0,
|
||||
/* Max Height */
|
||||
14,0,0,0,
|
||||
/* Raw Data Address in Decimal: <153748> */
|
||||
148,88,2,0,
|
||||
|
||||
/* 148 Metric Block End --- */
|
||||
|
||||
/*Bitmap Raw Data begin +++*/
|
||||
/*The expected raw bitmap size is 2660 Bytes */
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,
|
||||
64,0,64,0,64,0,64,0,64,0,64,0,0,0,64,0,64,0,0,0,0,0,0,0,0,0,88,0,80,0,80,0,
|
||||
64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,36,0,36,0,126,0,36,0,
|
||||
72,0,252,0,72,0,72,0,72,0,0,0,0,0,0,0,0,0,16,0,56,0,68,0,64,0,96,0,56,0,4,0,
|
||||
4,0,68,0,120,0,32,0,32,0,0,0,0,0,0,0,113,0,81,0,18,0,84,0,123,128,10,128,18,0,34,128,
|
||||
35,128,0,0,0,0,0,0,0,0,60,0,36,0,36,0,44,0,56,0,57,0,77,0,71,0,103,0,61,128,0,0,
|
||||
0,0,0,0,0,0,64,0,64,0,64,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,32,0,32,0,32,0,64,0,64,0,64,0,64,0,64,0,64,0,64,0,32,0,32,0,32,0,0,0,64,0,
|
||||
64,0,32,0,32,0,32,0,32,0,32,0,32,0,32,0,32,0,32,0,64,0,64,0,0,0,32,0,248,0,112,0,
|
||||
248,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,16,0,
|
||||
16,0,124,0,16,0,16,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,64,0,64,0,64,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,112,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,128,0,0,0,
|
||||
0,0,0,0,0,0,8,0,8,0,24,0,16,0,16,0,32,0,32,0,32,0,64,0,64,0,192,0,128,0,0,0,
|
||||
0,0,0,0,56,0,68,0,68,0,70,0,70,0,70,0,68,0,68,0,56,0,0,0,0,0,0,0,0,0,0,0,
|
||||
32,0,224,0,32,0,32,0,32,0,32,0,32,0,32,0,248,0,0,0,0,0,0,0,0,0,0,0,56,0,76,0,
|
||||
4,0,12,0,8,0,24,0,48,0,96,0,124,0,0,0,0,0,0,0,0,0,0,0,56,0,76,0,4,0,8,0,
|
||||
56,0,12,0,4,0,76,0,120,0,0,0,0,0,0,0,0,0,0,0,8,0,24,0,40,0,40,0,72,0,72,0,
|
||||
254,0,8,0,8,0,0,0,0,0,0,0,0,0,0,0,124,0,64,0,64,0,120,0,12,0,4,0,4,0,76,0,
|
||||
120,0,0,0,0,0,0,0,0,0,0,0,28,0,32,0,64,0,124,0,68,0,70,0,68,0,100,0,56,0,0,0,
|
||||
0,0,0,0,0,0,0,0,124,0,4,0,4,0,8,0,8,0,16,0,16,0,48,0,32,0,0,0,0,0,0,0,
|
||||
0,0,0,0,56,0,68,0,68,0,108,0,56,0,68,0,68,0,68,0,56,0,0,0,0,0,0,0,0,0,0,0,
|
||||
56,0,68,0,68,0,68,0,124,0,4,0,4,0,12,0,112,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
192,0,192,0,0,0,0,0,0,0,192,0,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,96,0,
|
||||
96,0,0,0,0,0,96,0,96,0,64,0,64,0,0,0,0,0,0,0,0,0,4,0,24,0,96,0,192,0,96,0,
|
||||
24,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,124,0,0,0,0,0,124,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,48,0,12,0,12,0,48,0,64,0,0,0,0,0,
|
||||
0,0,0,0,0,0,120,0,76,0,4,0,12,0,56,0,32,0,32,0,0,0,48,0,48,0,0,0,0,0,0,0,
|
||||
0,0,0,0,15,0,48,192,64,64,79,64,146,64,146,64,146,64,159,128,192,0,96,0,62,0,0,0,0,0,0,0,
|
||||
24,0,24,0,60,0,36,0,36,0,102,0,126,0,66,0,195,0,0,0,0,0,0,0,0,0,0,0,240,0,136,0,
|
||||
136,0,136,0,248,0,140,0,132,0,140,0,248,0,0,0,0,0,0,0,0,0,0,0,28,0,34,0,64,0,64,0,
|
||||
64,0,64,0,64,0,98,0,60,0,0,0,0,0,0,0,0,0,0,0,248,0,140,0,134,0,130,0,130,0,130,0,
|
||||
134,0,140,0,248,0,0,0,0,0,0,0,0,0,0,0,248,0,128,0,128,0,128,0,248,0,128,0,128,0,128,0,
|
||||
248,0,0,0,0,0,0,0,0,0,0,0,248,0,128,0,128,0,128,0,248,0,128,0,128,0,128,0,128,0,0,0,
|
||||
0,0,0,0,0,0,0,0,30,0,33,0,64,0,64,0,79,0,65,0,65,0,35,0,30,0,0,0,0,0,0,0,
|
||||
0,0,0,0,134,0,134,0,134,0,134,0,254,0,134,0,134,0,134,0,134,0,0,0,0,0,0,0,0,0,0,0,
|
||||
128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,0,0,0,0,0,0,0,0,0,0,32,0,32,0,
|
||||
32,0,32,0,32,0,32,0,32,0,32,0,224,0,0,0,0,0,0,0,0,0,0,0,140,0,152,0,144,0,224,0,
|
||||
224,0,176,0,144,0,136,0,140,0,0,0,0,0,0,0,0,0,0,0,128,0,128,0,128,0,128,0,128,0,128,0,
|
||||
128,0,128,0,248,0,0,0,0,0,0,0,0,0,0,0,192,192,225,192,161,64,161,64,146,64,146,64,156,64,140,64,
|
||||
140,64,0,0,0,0,0,0,0,0,0,0,194,0,226,0,162,0,178,0,146,0,154,0,142,0,134,0,134,0,0,0,
|
||||
0,0,0,0,0,0,0,0,30,0,35,0,65,0,65,0,65,128,65,0,65,0,99,0,30,0,0,0,0,0,0,0,
|
||||
0,0,0,0,240,0,136,0,140,0,136,0,136,0,240,0,128,0,128,0,128,0,0,0,0,0,0,0,0,0,0,0,
|
||||
30,0,35,0,65,0,65,0,65,128,65,0,65,0,99,0,63,0,0,192,0,0,0,0,0,0,0,0,248,0,136,0,
|
||||
140,0,136,0,240,0,152,0,136,0,140,0,132,0,0,0,0,0,0,0,0,0,0,0,56,0,64,0,64,0,96,0,
|
||||
56,0,12,0,4,0,12,0,120,0,0,0,0,0,0,0,0,0,0,0,254,0,16,0,16,0,16,0,16,0,16,0,
|
||||
16,0,16,0,16,0,0,0,0,0,0,0,0,0,0,0,130,0,130,0,130,0,130,0,130,0,130,0,134,0,68,0,
|
||||
56,0,0,0,0,0,0,0,0,0,0,0,195,0,66,0,66,0,102,0,36,0,36,0,60,0,24,0,24,0,0,0,
|
||||
0,0,0,0,0,0,0,0,66,16,70,16,70,32,101,32,41,32,41,96,41,192,56,192,16,192,0,0,0,0,0,0,
|
||||
0,0,0,0,70,0,100,0,44,0,56,0,24,0,56,0,44,0,68,0,70,0,0,0,0,0,0,0,0,0,0,0,
|
||||
196,0,68,0,104,0,40,0,48,0,16,0,16,0,16,0,16,0,0,0,0,0,0,0,0,0,0,0,124,0,12,0,
|
||||
8,0,24,0,16,0,32,0,96,0,64,0,252,0,0,0,0,0,0,0,0,0,224,0,128,0,128,0,128,0,128,0,
|
||||
128,0,128,0,128,0,128,0,128,0,128,0,224,0,0,0,0,0,128,0,64,0,64,0,64,0,32,0,32,0,32,0,
|
||||
16,0,16,0,24,0,8,0,8,0,0,0,0,0,96,0,32,0,32,0,32,0,32,0,32,0,32,0,32,0,32,0,
|
||||
32,0,32,0,96,0,0,0,0,0,0,0,16,0,56,0,40,0,76,0,68,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,127,0,
|
||||
0,0,64,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,56,0,76,0,4,0,60,0,68,0,76,0,124,0,0,0,0,0,0,0,0,0,128,0,128,0,128,0,
|
||||
184,0,200,0,140,0,140,0,140,0,200,0,176,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,56,0,64,0,
|
||||
64,0,64,0,64,0,64,0,56,0,0,0,0,0,0,0,0,0,4,0,4,0,4,0,60,0,76,0,68,0,68,0,
|
||||
68,0,76,0,60,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,56,0,68,0,68,0,124,0,64,0,64,0,
|
||||
60,0,0,0,0,0,0,0,0,0,48,0,96,0,64,0,240,0,64,0,64,0,64,0,64,0,64,0,64,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,60,0,72,0,72,0,72,0,120,0,64,0,120,0,68,0,196,0,120,0,
|
||||
0,0,128,0,128,0,128,0,176,0,200,0,136,0,136,0,136,0,136,0,136,0,0,0,0,0,0,0,0,0,0,0,
|
||||
64,0,0,0,64,0,64,0,64,0,64,0,64,0,64,0,64,0,0,0,0,0,0,0,0,0,0,0,32,0,0,0,
|
||||
32,0,32,0,32,0,32,0,32,0,32,0,32,0,32,0,32,0,96,0,0,0,128,0,128,0,128,0,152,0,176,0,
|
||||
224,0,224,0,176,0,144,0,136,0,0,0,0,0,0,0,0,0,128,0,128,0,128,0,128,0,128,0,128,0,128,0,
|
||||
128,0,128,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,179,0,204,128,136,128,136,128,136,128,136,128,
|
||||
136,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,176,0,200,0,136,0,136,0,136,0,136,0,136,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,56,0,100,0,70,0,66,0,70,0,68,0,56,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,184,0,200,0,140,0,140,0,140,0,200,0,240,0,128,0,128,0,128,0,0,0,0,0,
|
||||
0,0,0,0,60,0,76,0,68,0,68,0,68,0,76,0,60,0,4,0,4,0,4,0,0,0,0,0,0,0,0,0,
|
||||
176,0,192,0,128,0,128,0,128,0,128,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,120,0,64,0,
|
||||
64,0,48,0,24,0,8,0,112,0,0,0,0,0,0,0,0,0,0,0,64,0,64,0,240,0,64,0,64,0,64,0,
|
||||
64,0,96,0,48,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,136,0,136,0,136,0,136,0,136,0,216,0,
|
||||
120,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,196,0,68,0,72,0,72,0,40,0,48,0,48,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,204,192,76,128,76,128,76,128,51,0,51,0,51,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,72,0,72,0,48,0,48,0,48,0,72,0,204,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,196,0,68,0,72,0,104,0,40,0,48,0,48,0,16,0,32,0,32,0,0,0,0,0,0,0,0,0,
|
||||
120,0,16,0,16,0,32,0,32,0,64,0,120,0,0,0,0,0,0,0,0,0,48,0,32,0,32,0,32,0,32,0,
|
||||
64,0,96,0,32,0,32,0,32,0,32,0,48,0,0,0,0,0,64,0,64,0,64,0,64,0,64,0,64,0,64,0,
|
||||
64,0,64,0,64,0,64,0,64,0,64,0,0,0,96,0,32,0,32,0,32,0,32,0,16,0,32,0,32,0,32,0,
|
||||
32,0,32,0,64,0,0,0,0,0,0,0,0,0,98,0,84,0,140,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,
|
||||
/*Bitmap Raw Data end ---*/
|
||||
}
|
98
fonts/calibri_14/L1/calibri_14_L1.rtf
Normal file
98
fonts/calibri_14/L1/calibri_14_L1.rtf
Normal file
@@ -0,0 +1,98 @@
|
||||
95 characters are converted
|
||||
|
||||
Character Index No.
|
||||
32
|
||||
! 33
|
||||
" 34
|
||||
# 35
|
||||
$ 36
|
||||
% 37
|
||||
& 38
|
||||
' 39
|
||||
( 40
|
||||
) 41
|
||||
* 42
|
||||
+ 43
|
||||
, 44
|
||||
- 45
|
||||
. 46
|
||||
/ 47
|
||||
0 48
|
||||
1 49
|
||||
2 50
|
||||
3 51
|
||||
4 52
|
||||
5 53
|
||||
6 54
|
||||
7 55
|
||||
8 56
|
||||
9 57
|
||||
: 58
|
||||
; 59
|
||||
< 60
|
||||
= 61
|
||||
> 62
|
||||
? 63
|
||||
@ 64
|
||||
A 65
|
||||
B 66
|
||||
C 67
|
||||
D 68
|
||||
E 69
|
||||
F 70
|
||||
G 71
|
||||
H 72
|
||||
I 73
|
||||
J 74
|
||||
K 75
|
||||
L 76
|
||||
M 77
|
||||
N 78
|
||||
O 79
|
||||
P 80
|
||||
Q 81
|
||||
R 82
|
||||
S 83
|
||||
T 84
|
||||
U 85
|
||||
V 86
|
||||
W 87
|
||||
X 88
|
||||
Y 89
|
||||
Z 90
|
||||
[ 91
|
||||
\ 92
|
||||
] 93
|
||||
^ 94
|
||||
_ 95
|
||||
` 96
|
||||
a 97
|
||||
b 98
|
||||
c 99
|
||||
d 100
|
||||
e 101
|
||||
f 102
|
||||
g 103
|
||||
h 104
|
||||
i 105
|
||||
j 106
|
||||
k 107
|
||||
l 108
|
||||
m 109
|
||||
n 110
|
||||
o 111
|
||||
p 112
|
||||
q 113
|
||||
r 114
|
||||
s 115
|
||||
t 116
|
||||
u 117
|
||||
v 118
|
||||
w 119
|
||||
x 120
|
||||
y 121
|
||||
z 122
|
||||
{ 123
|
||||
| 124
|
||||
} 125
|
||||
~ 126
|
Reference in New Issue
Block a user