开源中国 2018 年度最后一场技术盛会邀你来约~错过就要等明年啦!点此立即预约

git123hub / luajit-testC/C++

Watch 1 Star 0 Fork 1
加入码云
与超过 300 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
暂无描述 展开 收起

ascii-font.cpp 3.80 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
My main account 提交于 2018-01-03 22:21 . Add files via upload
static const fontdata_column_t ascii_font[95][CHRW] = {
{0,0,0,0,0,0,0,0}, // ' '
{0,0,0,0,4076,0,0,0}, // '!'
{0,0,15360,0,0,0,15360,0}, // '"'
{0,316,480,3872,316,480,3872,0}, // '#'
{0,784,1160,1160,4092,1096,1096,560}, // '$'
{0,1540,2328,2336,1752,292,1572,2072}, // '%'
{0,56,1604,2436,2244,2344,1560,100}, // '&'
{0,0,0,0,15360,0,0,0}, // '''
{0,0,0,1008,3084,4098,0,0}, // '('
{0,0,4098,3084,1008,0,0,0}, // ')'
{0,272,160,64,1016,64,160,272}, // '*'
{0,64,64,64,1016,64,64,64}, // '+'
{0,0,0,9,14,0,0,0}, // ','
{0,0,64,64,64,64,0,0}, // '-'
{0,0,0,12,12,0,0,0}, // '.'
{0,12,16,96,384,512,3072,0}, // '/'
{0,1008,1064,2116,2180,1288,1008,0}, // '0'
{0,0,516,1028,4092,4,4,0}, // '1'
{0,1564,2084,2116,2180,2180,1796,0}, // '2'
{0,1560,2052,2180,2180,2180,1912,0}, // '3'
{0,224,288,544,1056,4092,32,0}, // '4'
{0,3976,2180,2180,2180,2180,2168,0}, // '5'
{0,1016,1156,2180,2180,2180,120,0}, // '6'
{0,2048,2048,2048,2108,2496,3584,0}, // '7'
{0,1912,2180,2180,2180,2180,1912,0}, // '8'
{0,1792,2180,2180,2180,2184,2032,0}, // '9'
{0,0,0,792,792,0,0,0}, // ':'
{0,0,0,786,796,0,0,0}, // ';'
{0,0,64,160,272,520,1028,0}, // '<'
{0,272,272,272,272,272,272,0}, // '='
{0,1028,520,272,160,64,0,0}, // '>'
{0,1536,2048,2048,2156,2176,1792,0}, // '?'
{0,1008,1032,2532,2580,2324,2036,0}, // '@'
{0,508,1600,2112,2112,1600,508,0}, // 'A'
{0,4092,2180,2180,2180,2180,1912,0}, // 'B'
{0,2040,2052,2052,2052,2052,1560,0}, // 'C'
{0,4092,2052,2052,2052,1032,1008,0}, // 'D'
{0,4092,2180,2180,2180,2180,2052,0}, // 'E'
{0,4092,2176,2176,2176,2176,2048,0}, // 'F'
{0,2040,2052,2052,2116,2120,1660,0}, // 'G'
{0,4092,128,128,128,128,4092,0}, // 'H'
{0,0,2052,2052,4092,2052,2052,0}, // 'I'
{0,24,4,2052,2052,4088,2048,2048}, // 'J'
{0,4092,192,288,528,1032,2052,0}, // 'K'
{0,4092,4,4,4,4,4,0}, // 'L'
{0,4092,768,192,192,768,4092,0}, // 'M'
{0,4092,1536,384,96,24,4092,0}, // 'N'
{0,2040,2052,2052,2052,2052,2040,0}, // 'O'
{0,4092,2176,2176,2176,2176,1792,0}, // 'P'
{0,2040,2060,2068,2068,2060,2042,2}, // 'Q'
{0,4092,2176,2176,2240,2224,1804,0}, // 'R'
{0,1816,2180,2180,2116,2116,1592,0}, // 'S'
{0,2048,2048,2048,4092,2048,2048,2048}, // 'T'
{0,4088,4,4,4,4,4088,0}, // 'U'
{0,3584,448,48,12,48,448,3584}, // 'V'
{0,4092,48,192,192,48,4092,0}, // 'W'
{0,3084,816,192,192,816,3084,0}, // 'X'
{0,3072,768,128,124,128,768,3072}, // 'Y'
{0,2076,2084,2116,2180,2308,3588,0}, // 'Z'
{0,0,0,0,8190,4098,4098,0}, // '['
{0,3072,512,384,96,16,12,0}, // '\'
{0,4098,4098,8190,0,0,0,0}, // ']'
{0,2048,4096,8192,8192,4096,2048,0}, // '^'
{0,2,2,2,2,2,2,2}, // '_'
{0,0,16384,8192,4096,0,0,0}, // '`'
{0,312,580,580,580,584,508,0}, // 'a'
{0,8188,264,516,516,516,504,0}, // 'b'
{0,504,516,516,516,516,264,0}, // 'c'
{0,504,516,516,516,264,8188,0}, // 'd'
{0,504,580,580,580,580,456,0}, // 'e'
{0,256,256,4092,4352,4352,0,0}, // 'f'
{0,454,569,553,553,457,1542,0}, // 'g'
{0,8188,256,512,512,512,508,0}, // 'h'
{0,0,4,516,7164,4,4,0}, // 'i'
{0,2,1,1,514,7164,0,0}, // 'j'
{0,8188,64,160,272,520,4,0}, // 'k'
{0,0,4,4100,8188,4,4,0}, // 'l'
{0,1020,512,512,508,512,512,508}, // 'm'
{0,1020,256,512,512,512,508,0}, // 'n'
{0,504,516,516,516,516,504,0}, // 'o'
{0,1023,264,516,516,516,504,0}, // 'p'
{0,504,516,516,516,264,1023,0}, // 'q'
{0,1020,256,512,512,512,384,0}, // 'r'
{0,392,580,580,548,548,280,0}, // 's'
{0,256,256,4088,260,260,0,0}, // 't'
{0,1016,4,4,4,8,1020,0}, // 'u'
{0,896,112,12,12,112,896,0}, // 'v'
{0,1016,4,4,504,4,4,1016}, // 'w'
{0,780,144,96,96,144,780,0}, // 'x'
{0,992,17,9,9,17,1022,0}, // 'y'
{0,524,532,548,580,644,772,0}, // 'z'
{0,0,64,3238,4889,4097,0,0}, // '{'
{0,0,0,0,16383,0,0,0}, // '|'
{0,0,4097,4889,3238,64,0,0}, // '}'
{0,3072,4096,4096,2048,1024,1024,6144}, // '~'
};

评论 ( 0 )

你可以在登录后,发表评论

搜索帮助