view src/cs/drivers/drv_app/r2d/lcds/E_Sample/font_metrics_system.h @ 276:4221c724c664

R2D: preparations for adding LCD hardware suspend handling
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 07 Sep 2021 21:05:38 +0000
parents 4e78acac3d88
children
line wrap: on
line source

const INT32 r2d_font_metric_system[]={
6, /* Font framebuffer width in pixels */
2048, /* Font framebuffer height in pixels */
4, /* Font framebuffer aligned size in Word32 */
6, /* Font free area for char creation */
8, /* Font ascent in pixels */
0, /* Font descent in pixels */
0, /* Font leading in pixels */
-1, /* Font underline in pixels */
/* glyph_index, x position in framebuffer, char width, char height
   x davance, y advance, char x origin, char y origin */
0,0,6,8,6,0,0,8,
1,8,6,8,6,0,0,8,
2,16,6,8,6,0,0,8,
3,24,6,8,6,0,0,8,
4,32,6,8,6,0,0,8,
5,40,6,8,6,0,0,8,
6,48,6,8,6,0,0,8,
7,56,6,8,6,0,0,8,
8,64,6,8,6,0,0,8,
9,72,6,8,6,0,0,8,
10,80,6,8,6,0,0,8,
11,88,6,8,6,0,0,8,
12,96,6,8,6,0,0,8,
13,104,6,8,6,0,0,8,
14,112,6,8,6,0,0,8,
15,120,6,8,6,0,0,8,
16,128,6,8,6,0,0,8,
17,136,6,8,6,0,0,8,
18,144,6,8,6,0,0,8,
19,152,6,8,6,0,0,8,
20,160,6,8,6,0,0,8,
21,168,6,8,6,0,0,8,
22,176,6,8,6,0,0,8,
23,184,6,8,6,0,0,8,
24,192,6,8,6,0,0,8,
25,200,6,8,6,0,0,8,
26,208,6,8,6,0,0,8,
27,216,6,8,6,0,0,8,
28,224,6,8,6,0,0,8,
29,232,6,8,6,0,0,8,
30,240,6,8,6,0,0,8,
31,248,6,8,6,0,0,8,
32,256,6,8,6,0,0,8,
33,264,6,8,6,0,0,8,
34,272,6,8,6,0,0,8,
35,280,6,8,6,0,0,8,
36,288,6,8,6,0,0,8,
37,296,6,8,6,0,0,8,
38,304,6,8,6,0,0,8,
39,312,6,8,6,0,0,8,
40,320,6,8,6,0,0,8,
41,328,6,8,6,0,0,8,
42,336,6,8,6,0,0,8,
43,344,6,8,6,0,0,8,
44,352,6,8,6,0,0,8,
45,360,6,8,6,0,0,8,
46,368,6,8,6,0,0,8,
47,376,6,8,6,0,0,8,
48,384,6,8,6,0,0,8,
49,392,6,8,6,0,0,8,
50,400,6,8,6,0,0,8,
51,408,6,8,6,0,0,8,
52,416,6,8,6,0,0,8,
53,424,6,8,6,0,0,8,
54,432,6,8,6,0,0,8,
55,440,6,8,6,0,0,8,
56,448,6,8,6,0,0,8,
57,456,6,8,6,0,0,8,
58,464,6,8,6,0,0,8,
59,472,6,8,6,0,0,8,
60,480,6,8,6,0,0,8,
61,488,6,8,6,0,0,8,
62,496,6,8,6,0,0,8,
63,504,6,8,6,0,0,8,
64,512,6,8,6,0,0,8,
65,520,6,8,6,0,0,8,
66,528,6,8,6,0,0,8,
67,536,6,8,6,0,0,8,
68,544,6,8,6,0,0,8,
69,552,6,8,6,0,0,8,
70,560,6,8,6,0,0,8,
71,568,6,8,6,0,0,8,
72,576,6,8,6,0,0,8,
73,584,6,8,6,0,0,8,
74,592,6,8,6,0,0,8,
75,600,6,8,6,0,0,8,
76,608,6,8,6,0,0,8,
77,616,6,8,6,0,0,8,
78,624,6,8,6,0,0,8,
79,632,6,8,6,0,0,8,
80,640,6,8,6,0,0,8,
81,648,6,8,6,0,0,8,
82,656,6,8,6,0,0,8,
83,664,6,8,6,0,0,8,
84,672,6,8,6,0,0,8,
85,680,6,8,6,0,0,8,
86,688,6,8,6,0,0,8,
87,696,6,8,6,0,0,8,
88,704,6,8,6,0,0,8,
89,712,6,8,6,0,0,8,
90,720,6,8,6,0,0,8,
91,728,6,8,6,0,0,8,
92,736,6,8,6,0,0,8,
93,744,6,8,6,0,0,8,
94,752,6,8,6,0,0,8,
95,760,6,8,6,0,0,8,
96,768,6,8,6,0,0,8,
97,776,6,8,6,0,0,8,
98,784,6,8,6,0,0,8,
99,792,6,8,6,0,0,8,
100,800,6,8,6,0,0,8,
101,808,6,8,6,0,0,8,
102,816,6,8,6,0,0,8,
103,824,6,8,6,0,0,8,
104,832,6,8,6,0,0,8,
105,840,6,8,6,0,0,8,
106,848,6,8,6,0,0,8,
107,856,6,8,6,0,0,8,
108,864,6,8,6,0,0,8,
109,872,6,8,6,0,0,8,
110,880,6,8,6,0,0,8,
111,888,6,8,6,0,0,8,
112,896,6,8,6,0,0,8,
113,904,6,8,6,0,0,8,
114,912,6,8,6,0,0,8,
115,920,6,8,6,0,0,8,
116,928,6,8,6,0,0,8,
117,936,6,8,6,0,0,8,
118,944,6,8,6,0,0,8,
119,952,6,8,6,0,0,8,
120,960,6,8,6,0,0,8,
121,968,6,8,6,0,0,8,
122,976,6,8,6,0,0,8,
123,984,6,8,6,0,0,8,
124,992,6,8,6,0,0,8,
125,1000,6,8,6,0,0,8,
126,1008,6,8,6,0,0,8,
127,1016,6,8,6,0,0,8,
128,1024,6,8,6,0,0,8,
129,1032,6,8,6,0,0,8,
130,1040,6,8,6,0,0,8,
131,1048,6,8,6,0,0,8,
132,1056,6,8,6,0,0,8,
133,1064,6,8,6,0,0,8,
134,1072,6,8,6,0,0,8,
135,1080,6,8,6,0,0,8,
136,1088,6,8,6,0,0,8,
137,1096,6,8,6,0,0,8,
138,1104,6,8,6,0,0,8,
139,1112,6,8,6,0,0,8,
140,1120,6,8,6,0,0,8,
141,1128,6,8,6,0,0,8,
142,1136,6,8,6,0,0,8,
143,1144,6,8,6,0,0,8,
144,1152,6,8,6,0,0,8,
145,1160,6,8,6,0,0,8,
146,1168,6,8,6,0,0,8,
147,1176,6,8,6,0,0,8,
148,1184,6,8,6,0,0,8,
149,1192,6,8,6,0,0,8,
150,1200,6,8,6,0,0,8,
151,1208,6,8,6,0,0,8,
152,1216,6,8,6,0,0,8,
153,1224,6,8,6,0,0,8,
154,1232,6,8,6,0,0,8,
155,1240,6,8,6,0,0,8,
156,1248,6,8,6,0,0,8,
157,1256,6,8,6,0,0,8,
158,1264,6,8,6,0,0,8,
159,1272,6,8,6,0,0,8,
160,1280,6,8,6,0,0,8,
161,1288,6,8,6,0,0,8,
162,1296,6,8,6,0,0,8,
163,1304,6,8,6,0,0,8,
164,1312,6,8,6,0,0,8,
165,1320,6,8,6,0,0,8,
166,1328,6,8,6,0,0,8,
167,1336,6,8,6,0,0,8,
168,1344,6,8,6,0,0,8,
169,1352,6,8,6,0,0,8,
170,1360,6,8,6,0,0,8,
171,1368,6,8,6,0,0,8,
172,1376,6,8,6,0,0,8,
173,1384,6,8,6,0,0,8,
174,1392,6,8,6,0,0,8,
175,1400,6,8,6,0,0,8,
176,1408,6,8,6,0,0,8,
177,1416,6,8,6,0,0,8,
178,1424,6,8,6,0,0,8,
179,1432,6,8,6,0,0,8,
180,1440,6,8,6,0,0,8,
181,1448,6,8,6,0,0,8,
182,1456,6,8,6,0,0,8,
183,1464,6,8,6,0,0,8,
184,1472,6,8,6,0,0,8,
185,1480,6,8,6,0,0,8,
186,1488,6,8,6,0,0,8,
187,1496,6,8,6,0,0,8,
188,1504,6,8,6,0,0,8,
189,1512,6,8,6,0,0,8,
190,1520,6,8,6,0,0,8,
191,1528,6,8,6,0,0,8,
192,1536,6,8,6,0,0,8,
193,1544,6,8,6,0,0,8,
194,1552,6,8,6,0,0,8,
195,1560,6,8,6,0,0,8,
196,1568,6,8,6,0,0,8,
197,1576,6,8,6,0,0,8,
198,1584,6,8,6,0,0,8,
199,1592,6,8,6,0,0,8,
200,1600,6,8,6,0,0,8,
201,1608,6,8,6,0,0,8,
202,1616,6,8,6,0,0,8,
203,1624,6,8,6,0,0,8,
204,1632,6,8,6,0,0,8,
205,1640,6,8,6,0,0,8,
206,1648,6,8,6,0,0,8,
207,1656,6,8,6,0,0,8,
208,1664,6,8,6,0,0,8,
209,1672,6,8,6,0,0,8,
210,1680,6,8,6,0,0,8,
211,1688,6,8,6,0,0,8,
212,1696,6,8,6,0,0,8,
213,1704,6,8,6,0,0,8,
214,1712,6,8,6,0,0,8,
215,1720,6,8,6,0,0,8,
216,1728,6,8,6,0,0,8,
217,1736,6,8,6,0,0,8,
218,1744,6,8,6,0,0,8,
219,1752,6,8,6,0,0,8,
220,1760,6,8,6,0,0,8,
221,1768,6,8,6,0,0,8,
222,1776,6,8,6,0,0,8,
223,1784,6,8,6,0,0,8,
224,1792,6,8,6,0,0,8,
225,1800,6,8,6,0,0,8,
226,1808,6,8,6,0,0,8,
227,1816,6,8,6,0,0,8,
228,1824,6,8,6,0,0,8,
229,1832,6,8,6,0,0,8,
230,1840,6,8,6,0,0,8,
231,1848,6,8,6,0,0,8,
232,1856,6,8,6,0,0,8,
233,1864,6,8,6,0,0,8,
234,1872,6,8,6,0,0,8,
235,1880,6,8,6,0,0,8,
236,1888,6,8,6,0,0,8,
237,1896,6,8,6,0,0,8,
238,1904,6,8,6,0,0,8,
239,1912,6,8,6,0,0,8,
240,1920,6,8,6,0,0,8,
241,1928,6,8,6,0,0,8,
242,1936,6,8,6,0,0,8,
243,1944,6,8,6,0,0,8,
244,1952,6,8,6,0,0,8,
245,1960,6,8,6,0,0,8,
246,1968,6,8,6,0,0,8,
247,1976,6,8,6,0,0,8,
248,1984,6,8,6,0,0,8,
249,1992,6,8,6,0,0,8,
250,2000,6,8,6,0,0,8,
251,2008,6,8,6,0,0,8,
252,2016,6,8,6,0,0,8,
253,2024,6,8,6,0,0,8,
254,2032,6,8,6,0,0,8,
255,2040,6,8,6,0,0,8,
};