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 2, 2 },
|
|
{ 2, 2 },{ 2, 2 },{ 2, 2 },{ 2, 2 },{ 2, 2 },{ 2, 2 },{ 2, 2 },{ 2, 2 },{ 2, 2 },{ 2, 2 },{ 2, 2 },{ 2, 2 },{ 2, 2 },{ 2, 2 },{ 2, 2 },{ 2, 2 },
|
|
};
|
|
|
|
static const char *var8x10font[] =
|
|
{
|
|
//2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678
|
|
" . . . . . . ",
|
|
" .#. .#.#. .#.. . .. .#. .#. ",
|
|
" .#. .#.#. . . .####. .#. . . .##. .#. .#. . . . . ",
|
|
" .#. .#.#. .#.#. .#.#.. .#..#. .#. .#. .#. .#. .#.#. .#. .#. ",
|
|
" .#. . . .#####. .###. ..#. .#.#. .#. .#. .#. .#. ..#.. .... .#. ",
|
|
" .#. .#.#. ..#.#. .#.. .#. . .#. .#. .###. .#####. .. .####. .. .#. ",
|
|
" . .#####. .####. .#..#. .#.#. .#. .#. .#. ..#.. .##. .... .##. .#. ",
|
|
" .#. .#.#. ..#. . .#. .#.#. .#. .#. .#.#. .#. .#. .##. . ",
|
|
" . . . . . . . . . . . . .#. .. ",
|
|
" . ",
|
|
//2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678
|
|
" .. . .. .. . .... .. .... .. .. . ",
|
|
" .##. .#. .##. .##. .#. .####. .##. .####. .##. .##. .#. ",
|
|
".#..#. .##. .#..#. .#..#. .##. .#... .#..#. ...#. .#..#. .#..#. .. .. . . .#.#. ",
|
|
".#.##. .#. . .#. ...#. .#.#. .#.. .#... .#. .#..#. .#..#. .##. .##. .#. .... .#. ..#. ",
|
|
".##.#. .#. ..#. .##. .#..#. .###. .###. .#. .##. .###. .##. .##. .#. .####. .#. .#. ",
|
|
".#..#. .#. .#. ...#. .#####. ...#. .#..#. .#. .#..#. ...#. .. .. .#. .... .#. .#. ",
|
|
".#..#. .#. .#... .#..#. ...#. .#..#. .#..#. .#. .#..#. .#..#. .##. .##. .#. .####. .#. . ",
|
|
" .##. .###. .####. .##. .#. .##. .##. .#. .##. .##. .##. .#. .#. .... .#. .#. ",
|
|
" .. ... .... .. . .. .. . .. .. .. .#. . . . ",
|
|
" . ",
|
|
//2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678
|
|
" .. ... .. ... .... .... .. . . ... . . . . .. . . . .. ",
|
|
" .. .##. .###. .##. .###. .####. .####. .##. .#..#. .###. .#. .#..#. .#. .##.#. .#. .#. .##. ",
|
|
" .##. .#..#. .#..#. .#..#. .#..#. .#... .#... .#..#. .#..#. .#. .#. .#..#. .#. .#.#.#. .##..#. .#..#. ",
|
|
".#..#. .#..#. .#..#. .#. . .#..#. .#.. .#.. .#... .#..#. .#. .#. .#.#. .#. .#.#.#. .#.#.#. .#..#. ",
|
|
".#.##. .####. .###. .#. .#..#. .###. .###. .#.##. .####. .#. .#. .##. .#. .#.#.#. .#..##. .#..#. ",
|
|
".#.##. .#..#. .#..#. .#. . .#..#. .#.. .#.. .#..#. .#..#. .#. . .#. .#.#. .#. .#...#. .#. .#. .#..#. ",
|
|
".#... .#..#. .#..#. .#..#. .#..#. .#... .#. .#..#. .#..#. .#. .#..#. .#..#. .#... .#. .#. .#. .#. .#..#. ",
|
|
" .##. .#..#. .###. .##. .###. .####. .#. .##. .#..#. .###. .##. .#..#. .####. .#. .#. .#. .#. .##. ",
|
|
" .. . . ... .. ... .... . .. . . ... .. . . .... . . . . .. ",
|
|
" ",
|
|
//2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678
|
|
" ... .. ... .. ... . . . . . . . . . . .... ... ... ",
|
|
".###. .##. .###. .##. .###. .#. .#. .#. .#. .#. .#. .#..#. .#. .#. .####. .###. .###. . ",
|
|
".#..#. .#..#. .#..#. .#..#. .#. .#. .#. .#. .#. .#. .#. .#..#. .#. .#. ...#. .#.. . ..#. .#. ",
|
|
".#..#. .#..#. .#..#. .#... .#. .#. .#. .#. .#. .#...#. .#..#. .#. .#. .#. .#. .#. .#. .#.#. ",
|
|
".###. .#..#. .###. .##. .#. .#. .#. .#. .#. .#.#.#. .##. .#.#. .#. .#. .#. .#. . . ",
|
|
".#.. .#..#. .#..#. ...#. .#. .#. .#. .#. .#. .#.#.#. .#..#. .#. .#. .#. .#. .#. ",
|
|
".#. .##. .#..#. .#..#. .#. .#...#. .#.#. .##.##. .#..#. .#. .#... .#.. .#. ..#. .... ",
|
|
".#. ..#. .#..#. .##. .#. .###. .#. .#. .#. .#..#. .#. .####. .###. . .###. .####. ",
|
|
" . . . . .. . ... . . . . . . .... ... ... .... ",
|
|
" ",
|
|
//2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678
|
|
" . . . . . . . . ",
|
|
" .. .#. .#. .#. .#. .#. .#. .#. .#. ",
|
|
".##. ... .#.. ... ..#. .. .#.#. ... .#.. . . .#.. .#. .. .. ... .. ",
|
|
" .#. .###. .###. .###. .###. .##. .#.. .###. .###. .#. .#. .#.#. .#. .##.##. .###. .##. ",
|
|
" .#. .#..#. .#..#. .#... .#..#. .#..#. .###. .#..#. .#..#. .#. .#. .##. .#. .#.#.#. .#..#. .#..#. ",
|
|
" . .#..#. .#..#. .#. .#..#. .####. .#. .#..#. .#..#. .#. .#. .##. .#. .#.#.#. .#..#. .#..#. ",
|
|
" .#.##. .#..#. .#... .#..#. .#... .#. .###. .#..#. .#. ..#. .#.#. .#. .#.#.#. .#..#. .#..#. ",
|
|
" .#.#. .###. .###. .###. .###. .#. ..#. .#..#. .#. .#.#. .#..#. .#. .#.#.#. .#..#. .##. ",
|
|
" . . ... ... ... ... . .##. . . . .#. . . . . . . . . .. ",
|
|
" .. . ",
|
|
//2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678
|
|
" . .. . .. ",
|
|
" .#. .##. .#. .##. . . ",
|
|
" ... ... ... ... .#. . . . . . . . . . . .... .#.. .#. ..#. .#.#. ",
|
|
".###. .###. .###. .###. .###. .#..#. .#. .#. .#...#. .#. .#. .#..#. .####. .#. .#. .#. .#.#. ",
|
|
".#..#. .#..#. .#..#. .#... .#. .#..#. .#. .#. .#.#.#. .#.#. .#..#. ...#. .#. . .#. . . ",
|
|
".#..#. .#..#. .#. . .##. .#. .#..#. .#.#. .#.#.#. .#. .#..#. .#. .#. .#. .#. ",
|
|
".###. .###. .#. ...#. .#. .#..#. .#.#. .#.#.#. .#.#. .#.#. .#.. .#.. .#. ..#. ",
|
|
".#.. ..#. .#. .###. .#. .###. .#. .#.#. .#. .#. .#. .####. .##. .#. .##. ",
|
|
".#. .#. . ... . ... . . . . . .#. .... .. . .. ",
|
|
" . . . ",
|
|
//2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
//2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
//2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678
|
|
" ",
|
|
" .. ..... ",
|
|
" .##. .#####. ... . . . . .. ",
|
|
" .#. . .. ....#. .###. .#. .#. .#. .#.. .##. . . . ",
|
|
" .#. .#. .##. .#####. ..#. .#. .###. ... .###. .###. .. .#. .#.#.#. ",
|
|
" . .#. .#. . .##. ....#. .#. .##. .#.#. .###. .#. .##.#. .##. .##. .#.#.#. ",
|
|
" .#. . .#. .#. .. ...#. .#. .#. ..#. .#. .##. .#.. ..#. .#. ...#. ",
|
|
" .#.#. .##. .#. .###. .#. .#. .#. .###. .#. .#. .####. .##. .##. ",
|
|
" .#. .. .#. ... . . . ... . . .... .. .. ",
|
|
" . . ",
|
|
//2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678
|
|
" ",
|
|
" .... . . ... . . . .... . . . .. . ..... . . . ",
|
|
" .####. .#. ..#.. .###. ...#. ..#.. ..#.. .####. .#... .... .#.#. .##..#. .#####. .#... .#. .#. ",
|
|
" .... ...#. .#. .#####. .#. .#####. .#####. .#####. .#..#. .####. .####. .#####. .. .#. ....#. .#####. .#. .#. ",
|
|
".####. .##. .##. .#...#. .#. ...#. ..#.#. ..#.. .#..#. .#..#. ...#. .#.#. .##..#. .#. .#..#. .#..#. ",
|
|
" .... .#. .#.#. . .#. .#. .##. .#..#. .#####. .#. .#. . .#. .#. ..#. .. .#. .#. .#.#. . .#. ",
|
|
" .#. ..#. ..#. ..#.. .#.#. .#..#. ..#.. . .#. .#. ...#. .#. ...#. .#.#. .#... ...#. ",
|
|
" .#. .#. .##. .#####. .#..#. .#..#. .#. .#. .#. .####. .#. .###. .#. .#. .###. .###. ",
|
|
" . . .. ..... . . . . . . . .... . ... . . ... ... ",
|
|
" ",
|
|
//2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678
|
|
" ",
|
|
" .... .. . . . ... . . ... .... . . . ..... . . ",
|
|
" .####. ..##. .#.#.#. .###. .#. ..#.. .###. .####. ..#.. .#. . . .#. .. .#####. .#. ..#.. ..... ",
|
|
" .#..#. .###. .#.#.#. ..... .#. .#####. ... ...#. .#####. .#. .#.#. .#..##. ....#. .#.#. .#####. .#####. ",
|
|
" .####. ..#. .#.#.#. .#####. .##. ..#.. .#.#. ....#. .#. .#.#. .###.. .#. .#..#. ..#.. ....#. ",
|
|
".#...#. .####. . ..#. ..#.. .#.#. .#. .#. .###. .#. .#. .#. .#.. .#. . .#. .#.#.#. .#.#. ",
|
|
" . .#. ..#. ...#. .#. .#.. ..#. ..... .#.#. .#.#.#. .#. .#. .#. .#.... ..#. .#. .#.#.#. .#. ",
|
|
" .#. .##. .###. .#. .#. .##. .#####. .#. .#. ..#.. .#. .#. .#. .####. .##. .#. ..#.. .#. ",
|
|
" . .. ... . . .. ..... . . . . . . .... .. . . . ",
|
|
" ",
|
|
//2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678
|
|
" ",
|
|
" .. . . ... . .... .... . . . . . ..... . . . . ",
|
|
" .##. .#. .#. .###. .#... ... .####. .####. .#..#. .#.#. .#. ..... .#####. ....#. .#.#. .#. ",
|
|
" ..#. .#. . .#. ..#.. .#.##. .###. ...#. ..... .#..#. .#.#. .#. .#####. .#...#. .###.#. .#.#. .#.#. ",
|
|
" .##. .#. . .#.#. .#####. .##.#. ..#. .###. .#####. .#..#. .#.#. .#. . .#...#. . .#. ....#. . . .#. ",
|
|
" ..#. .#..#. .##. ..#.. .#.#.. .#. ..#. ....#. . .#. .#.#. .#..#. .#...#. .#. .#. . ",
|
|
" .##. .####. ..#.#. .#.. . .#. ...#. ...#. ..#. ..#. .#.#. .#.#. .#####. ..#. ...#. ",
|
|
" ..#. ...#. .##. . .###. .#. .#####. .####. .##. .##. .#..##. .##. .#...#. .##. .###. ",
|
|
" . . .. ... . ..... .... .. .. . .. .. . . .. ... ",
|
|
" ",
|
|
//2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678
|
|
" ",
|
|
" ",
|
|
" . . ",
|
|
" .#. .#. . ..... ",
|
|
" .##. .##. .#. .#####. ",
|
|
" .###. .###. .###. .###. ",
|
|
" .##. .##. .#####. .#. ",
|
|
" .#. .#. ..... . ",
|
|
" . . ",
|
|
" ",
|
|
//2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678/2345678
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" ",
|
|
" "
|
|
};
|
|
|
|
#endif // __VAR8X10FONT_H
|