?? fontfixed6x8.c
字號:
//*****************************************************************************
//
// fontfixed6x8.c - Font defintion for the fixed-point 6x8 font.
//
// Copyright (c) 2008-2010 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Texas Instruments (TI) is supplying this software for use solely and
// exclusively on TI's microcontroller products. The software is owned by
// TI and/or its suppliers, and is protected under applicable copyright
// laws. You may not combine this software with "viral" open-source
// software in order to form a larger program.
//
// THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS.
// NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT
// NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL NOT, UNDER ANY
// CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
// DAMAGES, FOR ANY REASON WHATSOEVER.
//
// This is part of revision 5821 of the Stellaris Graphics Library.
//
//*****************************************************************************
#include "grlib/grlib.h"
//*****************************************************************************
//
// Details of this font:
// Style: fixed
// Size: 8 point
// Bold: no
// Italic: no
// Memory usage: 960 bytes
//
//*****************************************************************************
//*****************************************************************************
//
// The uncompressed data for the fixed-point 6x8 font.
//
//*****************************************************************************
static const unsigned char g_pucFontFixed6x8Data[760] =
{
8, 6, 0, 0, 0, 0, 0, 0, 8, 6, 32, 130,
8, 0, 2, 0, 8, 6, 81, 69, 0, 0, 0, 0,
8, 6, 81, 79, 148, 249, 69, 0, 8, 6, 33, 234,
28, 43, 194, 0, 8, 6, 195, 33, 8, 66, 97, 128,
8, 6, 98, 74, 16, 170, 70, 128, 8, 6, 96, 132,
0, 0, 0, 0, 8, 6, 16, 132, 16, 64, 129, 0,
8, 6, 64, 129, 4, 16, 132, 0, 8, 6, 0, 138,
156, 168, 128, 0, 8, 6, 0, 130, 62, 32, 128, 0,
8, 6, 0, 0, 0, 96, 132, 0, 8, 6, 0, 0,
62, 0, 0, 0, 8, 6, 0, 0, 0, 1, 134, 0,
8, 6, 0, 33, 8, 66, 0, 0, 8, 6, 114, 41,
170, 202, 39, 0, 8, 6, 33, 130, 8, 32, 135, 0,
8, 6, 114, 32, 132, 33, 15, 128, 8, 6, 248, 66,
4, 10, 39, 0, 8, 6, 16, 197, 36, 248, 65, 0,
8, 6, 250, 15, 2, 10, 39, 0, 8, 6, 49, 8,
60, 138, 39, 0, 8, 6, 248, 33, 8, 65, 4, 0,
8, 6, 114, 40, 156, 138, 39, 0, 8, 6, 114, 40,
158, 8, 70, 0, 8, 6, 1, 134, 0, 97, 128, 0,
8, 6, 1, 134, 0, 96, 132, 0, 8, 6, 16, 132,
32, 64, 129, 0, 8, 6, 0, 15, 128, 248, 0, 0,
8, 6, 64, 129, 2, 16, 132, 0, 8, 6, 114, 32,
132, 32, 2, 0, 8, 6, 114, 32, 154, 170, 167, 0,
8, 6, 114, 40, 162, 250, 40, 128, 8, 6, 242, 40,
188, 138, 47, 0, 8, 6, 114, 40, 32, 130, 39, 0,
8, 6, 226, 72, 162, 138, 78, 0, 8, 6, 250, 8,
60, 130, 15, 128, 8, 6, 250, 8, 60, 130, 8, 0,
8, 6, 114, 40, 46, 138, 39, 128, 8, 6, 138, 40,
190, 138, 40, 128, 8, 6, 112, 130, 8, 32, 135, 0,
8, 6, 56, 65, 4, 18, 70, 0, 8, 6, 138, 74,
48, 162, 72, 128, 8, 6, 130, 8, 32, 130, 15, 128,
8, 6, 139, 106, 170, 138, 40, 128, 8, 6, 138, 44,
170, 154, 40, 128, 8, 6, 114, 40, 162, 138, 39, 0,
8, 6, 242, 40, 188, 130, 8, 0, 8, 6, 114, 40,
162, 170, 70, 128, 8, 6, 242, 40, 188, 162, 72, 128,
8, 6, 122, 8, 28, 8, 47, 0, 8, 6, 248, 130,
8, 32, 130, 0, 8, 6, 138, 40, 162, 138, 39, 0,
8, 6, 138, 40, 162, 137, 66, 0, 8, 6, 138, 40,
170, 170, 165, 0, 8, 6, 138, 37, 8, 82, 40, 128,
8, 6, 138, 40, 148, 32, 130, 0, 8, 6, 248, 33,
8, 66, 15, 128, 8, 6, 113, 4, 16, 65, 7, 0,
8, 6, 2, 4, 8, 16, 32, 0, 8, 6, 112, 65,
4, 16, 71, 0, 8, 6, 33, 72, 128, 0, 0, 0,
8, 6, 0, 0, 0, 0, 15, 128, 8, 6, 64, 129,
0, 0, 0, 0, 8, 6, 0, 7, 2, 122, 39, 128,
8, 6, 130, 11, 50, 138, 47, 0, 8, 6, 0, 7,
32, 130, 39, 0, 8, 6, 8, 38, 166, 138, 39, 128,
8, 6, 0, 7, 34, 250, 7, 0, 8, 6, 49, 36,
56, 65, 4, 0, 8, 6, 1, 232, 162, 120, 39, 0,
8, 6, 130, 11, 50, 138, 40, 128, 8, 6, 32, 6,
8, 32, 135, 0, 8, 6, 16, 3, 4, 18, 70, 0,
8, 6, 130, 9, 40, 194, 137, 0, 8, 6, 96, 130,
8, 32, 135, 0, 8, 6, 0, 13, 42, 170, 40, 128,
8, 6, 0, 11, 50, 138, 40, 128, 8, 6, 0, 7,
34, 138, 39, 0, 8, 6, 0, 15, 34, 242, 8, 0,
8, 6, 0, 6, 166, 120, 32, 128, 8, 6, 0, 11,
50, 130, 8, 0, 8, 6, 0, 7, 32, 112, 47, 0,
8, 6, 65, 14, 16, 65, 35, 0, 8, 6, 0, 8,
162, 138, 102, 128, 8, 6, 0, 8, 162, 137, 66, 0,
8, 6, 0, 8, 162, 170, 165, 0, 8, 6, 0, 8,
148, 33, 72, 128, 8, 6, 0, 8, 162, 120, 39, 0,
8, 6, 0, 15, 132, 33, 15, 128, 8, 6, 16, 130,
16, 32, 129, 0, 8, 6, 32, 130, 8, 32, 130, 0,
8, 6, 64, 130, 4, 32, 132, 0, 8, 6, 66, 161,
0, 0, 0, 0,
};
//*****************************************************************************
//
// The font definition for the fixed-point 6x8 font.
//
//*****************************************************************************
const tFont g_sFontFixed6x8 =
{
//
// The format of the font.
//
FONT_FMT_UNCOMPRESSED,
//
// The maximum width of the font.
//
6,
//
// The height of the font.
//
8,
//
// The baseline of the font.
//
7,
//
// The offset to each character in the font.
//
{
0, 8, 16, 24, 32, 40, 48, 56,
64, 72, 80, 88, 96, 104, 112, 120,
128, 136, 144, 152, 160, 168, 176, 184,
192, 200, 208, 216, 224, 232, 240, 248,
256, 264, 272, 280, 288, 296, 304, 312,
320, 328, 336, 344, 352, 360, 368, 376,
384, 392, 400, 408, 416, 424, 432, 440,
448, 456, 464, 472, 480, 488, 496, 504,
512, 520, 528, 536, 544, 552, 560, 568,
576, 584, 592, 600, 608, 616, 624, 632,
640, 648, 656, 664, 672, 680, 688, 696,
704, 712, 720, 728, 736, 744, 752,
},
//
// A pointer to the actual font data
//
g_pucFontFixed6x8Data
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -