ncbi_lucida24.c
来自「ncbi源码」· C语言 代码 · 共 2,112 行 · 第 1/4 页
C
2,112 行
};static const BitmapCharRec ch58 = {3,13,-2,0,8,ch58data};/* char: 0x39 '9' */static const GLubyte ch57data[] = {0x7e,0x0,0x7f,0x80,0x41,0xc0,0x0,0xe0,0x0,0xe0,0x0,0x70,0x1e,0x70,0x7f,0x70,0x70,0xf0,0xe0,0x70,0xe0,0x70,0xe0,0x70,0xe0,0x70,0xe0,0xe0,0x71,0xe0,0x3f,0xc0,0x1f,0x0,};static const BitmapCharRec ch57 = {12,17,-2,0,15,ch57data};/* char: 0x38 '8' */static const GLubyte ch56data[] = {0x1f,0x80,0x7f,0xe0,0xf0,0xe0,0xe0,0x70,0xe0,0x70,0xe0,0x70,0x61,0xf0,0x73,0xe0,0x1f,0xc0,0xf,0x0,0x1c,0xc0,0x38,0x40,0x30,0x60,0x30,0x60,0x38,0xe0,0x1f,0xc0,0xf,0x80,};static const BitmapCharRec ch56 = {12,17,-2,0,15,ch56data};/* char: 0x37 '7' */static const GLubyte ch55data[] = {0x70,0x0,0x70,0x0,0x30,0x0,0x38,0x0,0x38,0x0,0x1c,0x0,0x1c,0x0,0xe,0x0,0x6,0x0,0x7,0x0,0x3,0x0,0x3,0x80,0x1,0xc0,0x0,0xc0,0x0,0xe0,0xff,0xe0,0xff,0xe0,};static const BitmapCharRec ch55 = {11,17,-3,0,15,ch55data};/* char: 0x36 '6' */static const GLubyte ch54data[] = {0xf,0x80,0x3f,0xc0,0x38,0xe0,0x70,0x70,0x60,0x70,0xe0,0x70,0xe0,0x70,0xe0,0x70,0xf8,0xe0,0xef,0xe0,0xe7,0x80,0xe0,0x0,0x70,0x0,0x70,0x0,0x38,0x20,0x1f,0xe0,0xf,0xc0,};static const BitmapCharRec ch54 = {12,17,-2,0,15,ch54data};/* char: 0x35 '5' */static const GLubyte ch53data[] = {0xfc,0x0,0xfe,0x0,0x87,0x0,0x3,0x80,0x3,0x80,0x3,0x80,0x3,0x80,0x3,0x80,0xf,0x0,0xfe,0x0,0xf8,0x0,0xc0,0x0,0xc0,0x0,0xc0,0x0,0xc0,0x0,0xff,0x80,0xff,0x80,};static const BitmapCharRec ch53 = {9,17,-3,0,15,ch53data};/* char: 0x34 '4' */static const GLubyte ch52data[] = {0x0,0xc0,0x0,0xc0,0x0,0xc0,0x0,0xc0,0x0,0xc0,0xff,0xf0,0xff,0xf0,0xe0,0xc0,0x70,0xc0,0x30,0xc0,0x18,0xc0,0x1c,0xc0,0xe,0xc0,0x7,0xc0,0x3,0xc0,0x3,0xc0,0x1,0xc0,};static const BitmapCharRec ch52 = {12,17,-1,0,15,ch52data};/* char: 0x33 '3' */static const GLubyte ch51data[] = {0xff,0x0,0xff,0x80,0x83,0xc0,0x0,0xe0,0x0,0xe0,0x0,0xe0,0x0,0xe0,0x3,0xc0,0x3f,0x0,0x3e,0x0,0x3,0x80,0x0,0xc0,0x0,0xe0,0x0,0xe0,0xc1,0xe0,0xff,0xc0,0x7f,0x0,};static const BitmapCharRec ch51 = {11,17,-2,0,15,ch51data};/* char: 0x32 '2' */static const GLubyte ch50data[] = {0xff,0xe0,0xff,0xe0,0xe0,0x0,0x70,0x0,0x30,0x0,0x1c,0x0,0xe,0x0,0x7,0x0,0x3,0x80,0x1,0xc0,0x0,0xe0,0x0,0xe0,0x0,0xe0,0x0,0xe0,0xc1,0xc0,0xff,0xc0,0x3f,0x0,};static const BitmapCharRec ch50 = {11,17,-2,0,15,ch50data};/* char: 0x31 '1' */static const GLubyte ch49data[] = {0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0xfc,0xfc,};static const BitmapCharRec ch49 = {6,17,-3,0,15,ch49data};/* char: 0x30 '0' */static const GLubyte ch48data[] = {0xf,0x0,0x3f,0xc0,0x79,0xe0,0x70,0xe0,0x70,0xe0,0xe0,0x70,0xe0,0x70,0xe0,0x70,0xe0,0x70,0xe0,0x70,0xe0,0x70,0xe0,0x70,0x70,0xe0,0x70,0xe0,0x79,0xe0,0x3f,0xc0,0xf,0x0,};static const BitmapCharRec ch48 = {12,17,-2,0,15,ch48data};/* char: 0x2f '/' */static const GLubyte ch47data[] = {0xc0,0x0,0x60,0x0,0x60,0x0,0x30,0x0,0x30,0x0,0x18,0x0,0x18,0x0,0x1c,0x0,0xc,0x0,0xe,0x0,0x6,0x0,0x7,0x0,0x3,0x0,0x3,0x80,0x1,0x80,0x1,0x80,0x0,0xc0,0x0,0xc0,0x0,0x60,0x0,0x60,0x0,0x30,};static const BitmapCharRec ch47 = {12,21,0,4,12,ch47data};/* char: 0x2e '.' */static const GLubyte ch46data[] = {0xe0,0xe0,0xe0,};static const BitmapCharRec ch46 = {3,3,-2,0,8,ch46data};/* char: 0x2d '-' */static const GLubyte ch45data[] = {0xf8,0xf8,};static const BitmapCharRec ch45 = {5,2,-1,-7,8,ch45data};/* char: 0x2c ',' */static const GLubyte ch44data[] = {0x80,0xc0,0x60,0x60,0x60,0xe0,0xe0,0xe0,0xe0,};static const BitmapCharRec ch44 = {3,9,-2,5,8,ch44data};/* char: 0x2b '+' */static const GLubyte ch43data[] = {0x3,0x0,0x3,0x0,0x3,0x0,0x3,0x0,0x3,0x0,0x3,0x0,0xff,0xfc,0xff,0xfc,0x3,0x0,0x3,0x0,0x3,0x0,0x3,0x0,0x3,0x0,0x3,0x0,};static const BitmapCharRec ch43 = {14,14,-1,0,15,ch43data};/* char: 0x2a '*' */static const GLubyte ch42data[] = {0x23,0x0,0x62,0x0,0x36,0x0,0x14,0x0,0x36,0x0,0xeb,0x80,0x48,0x80,0x8,0x0,0x8,0x0,};static const BitmapCharRec ch42 = {9,9,-1,-8,12,ch42data};/* char: 0x29 ')' */static const GLubyte ch41data[] = {0x80,0xc0,0x60,0x70,0x30,0x38,0x18,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x1c,0x18,0x38,0x30,0x70,0x60,0xc0,0x80,};static const BitmapCharRec ch41 = {6,21,-1,4,8,ch41data};/* char: 0x28 '(' */static const GLubyte ch40data[] = {0x4,0xc,0x18,0x38,0x30,0x70,0x60,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0,0xe0,0x60,0x70,0x30,0x38,0x18,0xc,0x4,};static const BitmapCharRec ch40 = {6,21,-1,4,8,ch40data};/* char: 0x27 ''' */static const GLubyte ch39data[] = {0x60,0x60,0xf0,0xf0,0xf0,};static const BitmapCharRec ch39 = {4,5,-1,-12,5,ch39data};/* char: 0x26 '&' */static const GLubyte ch38data[] = {0x1f,0x1c,0x3f,0xf0,0x78,0xe0,0xf0,0xf0,0xe1,0xf8,0xe1,0x98,0xe3,0x9c,0x63,0x1c,0x76,0x1c,0x3e,0x0,0xf,0x80,0x1d,0x80,0x1c,0xc0,0x1c,0xc0,0x1c,0xc0,0xf,0xc0,0x7,0x80,};static const BitmapCharRec ch38 = {14,17,-1,0,17,ch38data};/* char: 0x25 '%' */static const GLubyte ch37data[] = {0xe0,0x1e,0x0,0x70,0x3f,0x0,0x38,0x73,0x80,0x1c,0x61,0x80,0xc,0x61,0x80,0x6,0x61,0x80,0x7,0x73,0x80,0x3,0xbf,0x0,0x1,0xde,0x0,0x3c,0xe0,0x0,0x7e,0x70,0x0,0xe7,0x30,0x0,0xc3,0x18,0x0,0xc3,0xc,0x0,0xe7,0xe,0x0,0x7e,0x7,0x0,0x3c,0x3,0x80,};static const BitmapCharRec ch37 = {17,17,0,0,16,ch37data};/* char: 0x24 '$' */static const GLubyte ch36data[] = {0xc,0x0,0xc,0x0,0x7f,0x0,0xff,0x80,0x8d,0xc0,0xc,0xc0,0xc,0xc0,0xc,0xc0,0xd,0x80,0xf,0x80,0x1e,0x0,0x3c,0x0,0x7c,0x0,0xec,0x0,0xcc,0x0,0xcc,0x0,0xec,0x0,0x7f,0xc0,0x3f,0x80,0xc,0x0,0xc,0x0,};static const BitmapCharRec ch36 = {10,21,-2,2,15,ch36data};/* char: 0x23 '#' */static const GLubyte ch35data[] = {0x31,0x80,0x39,0x80,0x19,0x80,0x18,0xc0,0xff,0xfc,0xff,0xfc,0xc,0xc0,0xc,0x60,0xc,0x60,0x6,0x60,0x7f,0xfe,0x7f,0xfe,0x6,0x30,0x6,0x30,0x3,0x30,0x3,0x18,0x3,0x18,};static const BitmapCharRec ch35 = {15,17,0,0,15,ch35data};/* char: 0x22 '"' */static const GLubyte ch34data[] = {0xcc,0xcc,0xcc,0xcc,0xcc,0xcc,};static const BitmapCharRec ch34 = {6,6,-1,-11,9,ch34data};/* char: 0x21 '!' */static const GLubyte ch33data[] = {0xc0,0xc0,0xc0,0x0,0x0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,0xc0,};static const BitmapCharRec ch33 = {2,17,-3,0,8,ch33data};/* char: 0x20 ' ' */#ifdef _WIN32/* XXX Work around Microsoft OpenGL 1.1 bug where glBitmap with a height or width of zero does not advance the raster position as specified by OpenGL. (Cosmo OpenGL does not have this bug.) */static const GLubyte ch32data[] = { 0x0 };static const BitmapCharRec ch32 = {0,0,0,0,8,ch32data};#elsestatic const BitmapCharRec ch32 = {0,0,0,0,8,0};#endif/* char: 0x0 */static const GLubyte ch0data[] = {0xaa,0xa8,0x0,0x0,0x80,0x8,0x0,0x0,0x80,0x8,0x0,0x0,0x80,0x8,0x0,0x0,0x80,0x8,0x0,0x0,0x80,0x8,0x0,0x0,0x80,0x8,0x0,0x0,0x80,0x8,0x0,0x0,0xaa,0xa8,};static const BitmapCharRec ch0 = {13,17,-2,0,18,ch0data};static const BitmapCharRec * const chars[] = {&ch0,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,&ch32,&ch33,&ch34,&ch35,&ch36,&ch37,&ch38,&ch39,&ch40,&ch41,&ch42,&ch43,&ch44,&ch45,&ch46,&ch47,&ch48,&ch49,&ch50,&ch51,&ch52,&ch53,&ch54,&ch55,&ch56,&ch57,&ch58,&ch59,&ch60,&ch61,&ch62,&ch63,&ch64,&ch65,&ch66,&ch67,&ch68,&ch69,&ch70,&ch71,&ch72,&ch73,&ch74,&ch75,&ch76,&ch77,&ch78,&ch79,&ch80,&ch81,&ch82,&ch83,&ch84,&ch85,&ch86,&ch87,&ch88,&ch89,&ch90,&ch91,&ch92,&ch93,&ch94,&ch95,&ch96,&ch97,&ch98,&ch99,&ch100,&ch101,&ch102,&ch103,&ch104,&ch105,&ch106,&ch107,&ch108,&ch109,&ch110,&ch111,&ch112,&ch113,&ch114,&ch115,&ch116,&ch117,&ch118,&ch119,&ch120,&ch121,&ch122,&ch123,&ch124,&ch125,&ch126,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,&ch160,&ch161,&ch162,&ch163,&ch164,&ch165,&ch166,&ch167,&ch168,&ch169,&ch170,&ch171,&ch172,&ch173,&ch174,&ch175,&ch176,&ch177,&ch178,&ch179,&ch180,&ch181,&ch182,&ch183,&ch184,&ch185,&ch186,&ch187,&ch188,&ch189,&ch190,&ch191,&ch192,&ch193,&ch194,&ch195,&ch196,&ch197,&ch198,&ch199,&ch200,&ch201,&ch202,&ch203,&ch204,&ch205,&ch206,&ch207,&ch208,&ch209,&ch210,&ch211,&ch212,&ch213,&ch214,&ch215,&ch216,&ch217,&ch218,&ch219,&ch220,&ch221,&ch222,&ch223,&ch224,&ch225,&ch226,&ch227,&ch228,&ch229,&ch230,&ch231,&ch232,&ch233,&ch234,&ch235,&ch236,&ch237,&ch238,&ch239,&ch240,&ch241,&ch242,&ch243,&ch244,&ch245,&ch246,&ch247,&ch248,&ch249,&ch250,&ch251,&ch252,&ch253,&ch254,&ch255,};const BitmapFontRec ncbi_lucida_24 = {"-*-lucida-medium-r-*-*-24-*-*-*-*-*-*-*",256,0,chars};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?