font12CN.c (5262B)
1 /** 2 ****************************************************************************** 3 * @file Font12.c 4 * @author MCD Application Team 5 * @version V1.0.0 6 * @date 18-February-2014 7 * @brief This file provides text Font12 for STM32xx-EVAL's LCD driver. 8 ****************************************************************************** 9 * @attention 10 * 11 * <h2><center>© COPYRIGHT(c) 2014 STMicroelectronics</center></h2> 12 * 13 * Redistribution and use in source and binary forms, with or without modification, 14 * are permitted provided that the following conditions are met: 15 * 1. Redistributions of source code must retain the above copyright notice, 16 * this list of conditions and the following disclaimer. 17 * 2. Redistributions in binary form must reproduce the above copyright notice, 18 * this list of conditions and the following disclaimer in the documentation 19 * and/or other materials provided with the distribution. 20 * 3. Neither the name of STMicroelectronics nor the names of its contributors 21 * may be used to endorse or promote products derived from this software 22 * without specific prior written permission. 23 * 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 31 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34 * 35 ****************************************************************************** 36 */ 37 38 /* Includes ------------------------------------------------------------------*/ 39 #include "fonts.h" 40 41 42 // 43 // Font data for Courier New 12pt 44 // 45 46 const CH_CN Font12CN_Table[] = 47 { 48 /*-- 文字: 你 --*/ 49 /*-- 微软雅黑12; 此字体下对应的点阵为:宽x高=16x21 --*/ 50 {{"你"},{ 51 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1D,0xC0,0x1D,0x80,0x3B,0xFF,0x3B,0x07, 52 0x3F,0x77,0x7E,0x76,0xF8,0x70,0xFB,0xFE,0xFB,0xFE,0x3F,0x77,0x3F,0x77,0x3E,0x73, 53 0x38,0x70,0x38,0x70,0x3B,0xE0,0x00,0x00,0x00,0x00}}, 54 55 /*-- 文字: 好 --*/ 56 /*-- 微软雅黑12; 此字体下对应的点阵为:宽x高=16x21 --*/ 57 {{"好"},{ 58 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x00,0x73,0xFF,0x70,0x0F,0xFE,0x1E, 59 0x7E,0x3C,0x6E,0x38,0xEE,0x30,0xEF,0xFF,0xFC,0x30,0x7C,0x30,0x38,0x30,0x3E,0x30, 60 0x7E,0x30,0xE0,0x30,0xC1,0xF0,0x00,0x00,0x00,0x00}}, 61 62 /*-- 文字: 树 --*/ 63 /*-- 微软雅黑12; 此字体下对应的点阵为:宽x高=16x21 --*/ 64 {{"树"},{ 65 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x0E,0x30,0x0E,0x3F,0xEE,0x30,0xEE, 66 0xFC,0xFF,0x76,0xCE,0x77,0xFE,0x7B,0xFE,0xFF,0xFE,0xF3,0xDE,0xF3,0xCE,0x37,0xEE, 67 0x3E,0x6E,0x3C,0x0E,0x30,0x3E,0x00,0x00,0x00,0x00}}, 68 69 /*-- 文字: 莓 --*/ 70 /*-- 微软雅黑12; 此字体下对应的点阵为:宽x高=16x21 --*/ 71 {{"莓"},{ 72 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x70,0xFF,0xFF,0x3E,0x70,0x38,0x00, 73 0x7F,0xFF,0xE0,0x00,0xFF,0xFC,0x3B,0x8C,0x39,0xCC,0xFF,0xFF,0x73,0x9C,0x71,0xDC, 74 0x7F,0xFF,0x00,0x1C,0x01,0xF8,0x00,0x00,0x00,0x00}}, 75 76 /*-- 文字: 派 --*/ 77 /*-- 微软雅黑12; 此字体下对应的点阵为:宽x高=16x21 --*/ 78 {{"派"},{ 79 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0x1F,0xFF,0xF0,0x3E,0x00,0x0E,0x1F, 80 0xCF,0xFB,0xFF,0xF8,0x3F,0xFF,0x0F,0xFF,0x7F,0xD8,0x7F,0xDC,0x6F,0xCE,0xED,0xFF, 81 0xFD,0xF7,0xF9,0xC0,0x00,0x00,0x00,0x00,0x00,0x00}}, 82 83 /*-- 文字: a --*/ 84 /*-- 微软雅黑12; 此字体下对应的点阵为:宽x高=16x21 --*/ 85 {{"a"},{ 86 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 87 0x3E,0x00,0x67,0x00,0x07,0x80,0x0F,0x80,0x7F,0x80,0xE3,0x80,0xE7,0x80,0xE7,0x80, 88 0x7F,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}, 89 90 /*-- 文字: b --*/ 91 /*-- 微软雅黑12; 此字体下对应的点阵为:宽x高=16x21 --*/ 92 {{"b"},{ 93 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x70,0x00,0x70,0x00,0x70,0x00,0x70,0x00, 94 0x7F,0x00,0x7B,0x80,0x71,0xC0,0x71,0xC0,0x71,0xC0,0x71,0xC0,0x71,0xC0,0x7B,0x80, 95 0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}, 96 97 /*-- 文字: c --*/ 98 /*-- 微软雅黑12; 此字体下对应的点阵为:宽x高=16x21 --*/ 99 {{"c"},{ 100 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 101 0x3F,0x00,0x73,0x00,0xF0,0x00,0xE0,0x00,0xE0,0x00,0xE0,0x00,0xF0,0x00,0x73,0x00, 102 0x3F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}, 103 104 /*-- 文字: A --*/ 105 /*-- 微软雅黑12; 此字体下对应的点阵为:宽x高=16x21 --*/ 106 {{"A"},{ 107 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0E,0x00,0x1F,0x00,0x1F,0x00, 108 0x1F,0x00,0x3B,0x80,0x3B,0x80,0x71,0x80,0x7F,0xC0,0x71,0xC0,0xE0,0xE0,0xE0,0xE0, 109 0xE0,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}, 110 }; 111 112 cFONT Font12CN = { 113 Font12CN_Table, 114 sizeof(Font12CN_Table)/sizeof(CH_CN), /*size of table*/ 115 11, /* ASCII Width */ 116 16, /* Width */ 117 21, /* Height */ 118 }; 119 120 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/