FreeCalypso > hg > fc-tourmaline
view src/cs/drivers/drv_app/r2d/lcds/ColorBoard/font_metrics_system.h @ 281:a75eefbf8be4
Phone boot with PWON: weed out short button presses
Every standard end user phone has a design provision, most naturally
implemented in firmware, whereby the PWON button effects a boot only
if it is held down long enough - short presses of this PWON button
are detected, assumed to be spurious and cause the fw to power back off
instead of proceeding with boot. The present change introduces this
standard function in FreeCalypso.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 24 Sep 2021 02:03:08 +0000 |
parents | 4e78acac3d88 |
children |
line wrap: on
line source
const INT32 r2d_font_metric_system[]={ 1536, /* Font framebuffer width in pixels */ 8, /* Font framebuffer height in pixels */ 5, /* Font framebuffer aligned size in Word32 */ 8, /* 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,6,6,8,6,0,0,8, 2,12,6,8,6,0,0,8, 3,18,6,8,6,0,0,8, 4,24,6,8,6,0,0,8, 5,30,6,8,6,0,0,8, 6,36,6,8,6,0,0,8, 7,42,6,8,6,0,0,8, 8,48,6,8,6,0,0,8, 9,54,6,8,6,0,0,8, 10,60,6,8,6,0,0,8, 11,66,6,8,6,0,0,8, 12,72,6,8,6,0,0,8, 13,78,6,8,6,0,0,8, 14,84,6,8,6,0,0,8, 15,90,6,8,6,0,0,8, 16,96,6,8,6,0,0,8, 17,102,6,8,6,0,0,8, 18,108,6,8,6,0,0,8, 19,114,6,8,6,0,0,8, 20,120,6,8,6,0,0,8, 21,126,6,8,6,0,0,8, 22,132,6,8,6,0,0,8, 23,138,6,8,6,0,0,8, 24,144,6,8,6,0,0,8, 25,150,6,8,6,0,0,8, 26,156,6,8,6,0,0,8, 27,162,6,8,6,0,0,8, 28,168,6,8,6,0,0,8, 29,174,6,8,6,0,0,8, 30,180,6,8,6,0,0,8, 31,186,6,8,6,0,0,8, 32,192,6,8,6,0,0,8, 33,198,6,8,6,0,0,8, 34,204,6,8,6,0,0,8, 35,210,6,8,6,0,0,8, 36,216,6,8,6,0,0,8, 37,222,6,8,6,0,0,8, 38,228,6,8,6,0,0,8, 39,234,6,8,6,0,0,8, 40,240,6,8,6,0,0,8, 41,246,6,8,6,0,0,8, 42,252,6,8,6,0,0,8, 43,258,6,8,6,0,0,8, 44,264,6,8,6,0,0,8, 45,270,6,8,6,0,0,8, 46,276,6,8,6,0,0,8, 47,282,6,8,6,0,0,8, 48,288,6,8,6,0,0,8, 49,294,6,8,6,0,0,8, 50,300,6,8,6,0,0,8, 51,306,6,8,6,0,0,8, 52,312,6,8,6,0,0,8, 53,318,6,8,6,0,0,8, 54,324,6,8,6,0,0,8, 55,330,6,8,6,0,0,8, 56,336,6,8,6,0,0,8, 57,342,6,8,6,0,0,8, 58,348,6,8,6,0,0,8, 59,354,6,8,6,0,0,8, 60,360,6,8,6,0,0,8, 61,366,6,8,6,0,0,8, 62,372,6,8,6,0,0,8, 63,378,6,8,6,0,0,8, 64,384,6,8,6,0,0,8, 65,390,6,8,6,0,0,8, 66,396,6,8,6,0,0,8, 67,402,6,8,6,0,0,8, 68,408,6,8,6,0,0,8, 69,414,6,8,6,0,0,8, 70,420,6,8,6,0,0,8, 71,426,6,8,6,0,0,8, 72,432,6,8,6,0,0,8, 73,438,6,8,6,0,0,8, 74,444,6,8,6,0,0,8, 75,450,6,8,6,0,0,8, 76,456,6,8,6,0,0,8, 77,462,6,8,6,0,0,8, 78,468,6,8,6,0,0,8, 79,474,6,8,6,0,0,8, 80,480,6,8,6,0,0,8, 81,486,6,8,6,0,0,8, 82,492,6,8,6,0,0,8, 83,498,6,8,6,0,0,8, 84,504,6,8,6,0,0,8, 85,510,6,8,6,0,0,8, 86,516,6,8,6,0,0,8, 87,522,6,8,6,0,0,8, 88,528,6,8,6,0,0,8, 89,534,6,8,6,0,0,8, 90,540,6,8,6,0,0,8, 91,546,6,8,6,0,0,8, 92,552,6,8,6,0,0,8, 93,558,6,8,6,0,0,8, 94,564,6,8,6,0,0,8, 95,570,6,8,6,0,0,8, 96,576,6,8,6,0,0,8, 97,582,6,8,6,0,0,8, 98,588,6,8,6,0,0,8, 99,594,6,8,6,0,0,8, 100,600,6,8,6,0,0,8, 101,606,6,8,6,0,0,8, 102,612,6,8,6,0,0,8, 103,618,6,8,6,0,0,8, 104,624,6,8,6,0,0,8, 105,630,6,8,6,0,0,8, 106,636,6,8,6,0,0,8, 107,642,6,8,6,0,0,8, 108,648,6,8,6,0,0,8, 109,654,6,8,6,0,0,8, 110,660,6,8,6,0,0,8, 111,666,6,8,6,0,0,8, 112,672,6,8,6,0,0,8, 113,678,6,8,6,0,0,8, 114,684,6,8,6,0,0,8, 115,690,6,8,6,0,0,8, 116,696,6,8,6,0,0,8, 117,702,6,8,6,0,0,8, 118,708,6,8,6,0,0,8, 119,714,6,8,6,0,0,8, 120,720,6,8,6,0,0,8, 121,726,6,8,6,0,0,8, 122,732,6,8,6,0,0,8, 123,738,6,8,6,0,0,8, 124,744,6,8,6,0,0,8, 125,750,6,8,6,0,0,8, 126,756,6,8,6,0,0,8, 127,762,6,8,6,0,0,8, 128,768,6,8,6,0,0,8, 129,774,6,8,6,0,0,8, 130,780,6,8,6,0,0,8, 131,786,6,8,6,0,0,8, 132,792,6,8,6,0,0,8, 133,798,6,8,6,0,0,8, 134,804,6,8,6,0,0,8, 135,810,6,8,6,0,0,8, 136,816,6,8,6,0,0,8, 137,822,6,8,6,0,0,8, 138,828,6,8,6,0,0,8, 139,834,6,8,6,0,0,8, 140,840,6,8,6,0,0,8, 141,846,6,8,6,0,0,8, 142,852,6,8,6,0,0,8, 143,858,6,8,6,0,0,8, 144,864,6,8,6,0,0,8, 145,870,6,8,6,0,0,8, 146,876,6,8,6,0,0,8, 147,882,6,8,6,0,0,8, 148,888,6,8,6,0,0,8, 149,894,6,8,6,0,0,8, 150,900,6,8,6,0,0,8, 151,906,6,8,6,0,0,8, 152,912,6,8,6,0,0,8, 153,918,6,8,6,0,0,8, 154,924,6,8,6,0,0,8, 155,930,6,8,6,0,0,8, 156,936,6,8,6,0,0,8, 157,942,6,8,6,0,0,8, 158,948,6,8,6,0,0,8, 159,954,6,8,6,0,0,8, 160,960,6,8,6,0,0,8, 161,966,6,8,6,0,0,8, 162,972,6,8,6,0,0,8, 163,978,6,8,6,0,0,8, 164,984,6,8,6,0,0,8, 165,990,6,8,6,0,0,8, 166,996,6,8,6,0,0,8, 167,1002,6,8,6,0,0,8, 168,1008,6,8,6,0,0,8, 169,1014,6,8,6,0,0,8, 170,1020,6,8,6,0,0,8, 171,1026,6,8,6,0,0,8, 172,1032,6,8,6,0,0,8, 173,1038,6,8,6,0,0,8, 174,1044,6,8,6,0,0,8, 175,1050,6,8,6,0,0,8, 176,1056,6,8,6,0,0,8, 177,1062,6,8,6,0,0,8, 178,1068,6,8,6,0,0,8, 179,1074,6,8,6,0,0,8, 180,1080,6,8,6,0,0,8, 181,1086,6,8,6,0,0,8, 182,1092,6,8,6,0,0,8, 183,1098,6,8,6,0,0,8, 184,1104,6,8,6,0,0,8, 185,1110,6,8,6,0,0,8, 186,1116,6,8,6,0,0,8, 187,1122,6,8,6,0,0,8, 188,1128,6,8,6,0,0,8, 189,1134,6,8,6,0,0,8, 190,1140,6,8,6,0,0,8, 191,1146,6,8,6,0,0,8, 192,1152,6,8,6,0,0,8, 193,1158,6,8,6,0,0,8, 194,1164,6,8,6,0,0,8, 195,1170,6,8,6,0,0,8, 196,1176,6,8,6,0,0,8, 197,1182,6,8,6,0,0,8, 198,1188,6,8,6,0,0,8, 199,1194,6,8,6,0,0,8, 200,1200,6,8,6,0,0,8, 201,1206,6,8,6,0,0,8, 202,1212,6,8,6,0,0,8, 203,1218,6,8,6,0,0,8, 204,1224,6,8,6,0,0,8, 205,1230,6,8,6,0,0,8, 206,1236,6,8,6,0,0,8, 207,1242,6,8,6,0,0,8, 208,1248,6,8,6,0,0,8, 209,1254,6,8,6,0,0,8, 210,1260,6,8,6,0,0,8, 211,1266,6,8,6,0,0,8, 212,1272,6,8,6,0,0,8, 213,1278,6,8,6,0,0,8, 214,1284,6,8,6,0,0,8, 215,1290,6,8,6,0,0,8, 216,1296,6,8,6,0,0,8, 217,1302,6,8,6,0,0,8, 218,1308,6,8,6,0,0,8, 219,1314,6,8,6,0,0,8, 220,1320,6,8,6,0,0,8, 221,1326,6,8,6,0,0,8, 222,1332,6,8,6,0,0,8, 223,1338,6,8,6,0,0,8, 224,1344,6,8,6,0,0,8, 225,1350,6,8,6,0,0,8, 226,1356,6,8,6,0,0,8, 227,1362,6,8,6,0,0,8, 228,1368,6,8,6,0,0,8, 229,1374,6,8,6,0,0,8, 230,1380,6,8,6,0,0,8, 231,1386,6,8,6,0,0,8, 232,1392,6,8,6,0,0,8, 233,1398,6,8,6,0,0,8, 234,1404,6,8,6,0,0,8, 235,1410,6,8,6,0,0,8, 236,1416,6,8,6,0,0,8, 237,1422,6,8,6,0,0,8, 238,1428,6,8,6,0,0,8, 239,1434,6,8,6,0,0,8, 240,1440,6,8,6,0,0,8, 241,1446,6,8,6,0,0,8, 242,1452,6,8,6,0,0,8, 243,1458,6,8,6,0,0,8, 244,1464,6,8,6,0,0,8, 245,1470,6,8,6,0,0,8, 246,1476,6,8,6,0,0,8, 247,1482,6,8,6,0,0,8, 248,1488,6,8,6,0,0,8, 249,1494,6,8,6,0,0,8, 250,1500,6,8,6,0,0,8, 251,1506,6,8,6,0,0,8, 252,1512,6,8,6,0,0,8, 253,1518,6,8,6,0,0,8, 254,1524,6,8,6,0,0,8, 255,1530,6,8,6,0,0,8, };