/*
* lib/pandagl/src/font/inconsolata.c: bitmap data of the inconsolata font.
*
* Copyright (c) 2018-2024, Liu chao <lc-soft@live.cn> All rights reserved.
*
* SPDX-License-Identifier: MIT
*
* This file is part of LCUI, distributed under the MIT License found in the
* LICENSE.TXT file in the root directory of this source tree.
*/
// TODO: 删除此文件,可考虑由 lcui-cli 提供字体位图到 C 源码的生成功能
#include <stdlib.h>
#include <string.h>
#include <pandagl.h>
enum font_index {
SIZE_12_PX,
SIZE_13_PX,
SIZE_14_PX,
SIZE_15_PX,
SIZE_16_PX,
SIZE_17_PX,
SIZE_18_PX,
SIZE_TOTAL
};
/* inconsolata 字体数据索引 */
static const pd_font_bitmap_t pd_inconsolata_font_bitmap_info[SIZE_TOTAL][95] = {
{
{ 16, 0, 0, 0, 0, (uint8_t*)0x00000000, { 6, 12 } },
{ 11, 1, 3, 9, 9, (uint8_t*)0x00000000, { 6, 12 } },
{ 11, 1, 4, 3, 3, (uint8_t*)0x0000001B, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x00000027, { 6, 12 } },
{ 11, 0, 6, 9, 9, (uint8_t*)0x00000057, { 6, 12 } },
{ 11, 0, 6, 9, 9, (uint8_t*)0x0000008D, { 6, 12 } },
{ 11, 0, 6, 9, 9, (uint8_t*)0x000000C3, { 6, 12 } },
{ 11, 2, 2, 3, 3, (uint8_t*)0x000000F9, { 6, 12 } },
{ 11, 2, 3, 10, 10, (uint8_t*)0x000000FF, { 6, 12 } },
{ 11, 0, 3, 10, 10, (uint8_t*)0x0000011D, { 6, 12 } },
{ 10, 0, 6, 6, 6, (uint8_t*)0x0000013B, { 6, 12 } },
{ 10, 0, 6, 6, 6, (uint8_t*)0x0000015F, { 6, 12 } },
{ 5, 1, 3, 4, 4, (uint8_t*)0x00000183, { 6, 12 } },
{ 8, 0, 6, 2, 2, (uint8_t*)0x0000018F, { 6, 12 } },
{ 5, 1, 3, 3, 3, (uint8_t*)0x0000019B, { 6, 12 } },
{ 11, 3, 3, 9, 9, (uint8_t*)0x000001A4, { 6, 12 } },
{ 11, 0, 6, 9, 9, (uint8_t*)0x000001BF, { 6, 12 } },
{ 11, 0, 4, 8, 8, (uint8_t*)0x000001F5, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x00000215, { 6, 12 } },
{ 11, 0, 6, 9, 9, (uint8_t*)0x00000245, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x0000027B, { 6, 12 } },
{ 11, 0, 6, 9, 9, (uint8_t*)0x000002AB, { 6, 12 } },
{ 11, 0, 6, 9, 9, (uint8_t*)0x000002E1, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x00000317, { 6, 12 } },
{ 11, 0, 6, 9, 9, (uint8_t*)0x00000347, { 6, 12 } },
{ 11, 0, 6, 9, 9, (uint8_t*)0x0000037D, { 6, 12 } },
{ 8, 1, 3, 6, 6, (uint8_t*)0x000003B3, { 6, 12 } },
{ 8, 1, 3, 7, 7, (uint8_t*)0x000003C5, { 6, 12 } },
{ 10, 2, 4, 7, 7, (uint8_t*)0x000003DA, { 6, 12 } },
{ 9, 0, 6, 4, 4, (uint8_t*)0x000003F6, { 6, 12 } },
{ 10, 0, 4, 7, 7, (uint8_t*)0x0000040E, { 6, 12 } },
{ 11, 0, 6, 9, 9, (uint8_t*)0x0000042A, { 6, 12 } },
{ 11, 0, 6, 9, 9, (uint8_t*)0x00000460, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x00000496, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x000004C6, { 6, 12 } },
{ 11, 0, 6, 9, 9, (uint8_t*)0x000004F6, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x0000052C, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x0000055C, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x0000058C, { 6, 12 } },
{ 11, 0, 6, 9, 9, (uint8_t*)0x000005BC, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x000005F2, { 6, 12 } },
{ 11, 0, 5, 8, 8, (uint8_t*)0x00000622, { 6, 12 } },
{ 11, 1, 5, 9, 9, (uint8_t*)0x0000064A, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x00000677, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x000006A7, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x000006D7, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x00000707, { 6, 12 } },
{ 11, 0, 6, 9, 9, (uint8_t*)0x00000737, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x0000076D, { 6, 12 } },
{ 11, 0, 6, 10, 10, (uint8_t*)0x0000079D, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x000007D9, { 6, 12 } },
{ 11, 0, 6, 9, 9, (uint8_t*)0x00000809, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x0000083F, { 6, 12 } },
{ 11, 0, 6, 9, 9, (uint8_t*)0x0000086F, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x000008A5, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x000008D5, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x00000905, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x00000935, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x00000965, { 6, 12 } },
{ 11, 1, 5, 9, 9, (uint8_t*)0x00000995, { 6, 12 } },
{ 11, 0, 3, 9, 9, (uint8_t*)0x000009C2, { 6, 12 } },
{ 11, 0, 5, 9, 9, (uint8_t*)0x000009DD, { 6, 12 } },
{ 11, 0, 5, 4, 4, (uint8_t*)0x00000A0A, { 6, 12 } },
{ 16, 0, 6, 0, 0, (uint8_t*)0x00000A1E, { 6, 12 } },
{ 11, 1, 3, 3, 3, (uint8_t*)0x00000A1E, { 6, 12 } },
{ 9, 0, 6, 7, 7, (uint8_t*)0x00000A27, { 6, 12 } },
{ 11, 0, 6, 9, 9, (uint8_t*)0x00000A51, { 6, 12 } },
{ 9, 0, 6, 7, 7, (uint8_t*)0x00000A87, { 6, 12 } },
{ 11, 0, 6, 9, 9, (uint8_t*)0x00000AB1, { 6, 12 } },
{ 9, 0, 6, 7, 7, (uint8_t*)0x00000AE7, { 6, 12 } },
{ 11, 1, 5, 8, 8, (uint8_t*)0x00000B11, { 6, 12 } },
{ 9, 0, 6, 8, 8, (uint8_t*)0x00000B39, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x00000B69, { 6, 12 } },
{ 11, 0, 5, 8, 8, (uint8_t*)0x00000B99, { 6, 12 } },
{ 11, 0, 5, 10, 10, (uint8_t*)0x00000BC1, { 6, 12 } },
{ 11, 0, 6, 8, 8, (uint8_t*)0x00000BF3, { 6, 12 } },
{ 11, 0, 5, 8, 8, (uint8_t*)0x00000C23, { 6, 12 } },
{ 9, 0, 6, 6, 6, (uint8_t*)0x00000C4B, { 6, 12 } },
{ 9, 0, 6, 6, 6, (uint8_t*)0x00000C6F, { 6, 12 } },
{ 9, 0, 6, 7, 7, (uint8_t*)0x00000C93, { 6, 12 } },
{ 9, 0, 6, 8, 8, (uint8_t*)0x00000CBD, { 6, 12 } },
{ 9, 0, 6, 8, 8, (uint8_t*)0x00000CED, { 6, 12 } },
{ 9, 0, 6, 6, 6, (uint8_t*)0x00000D1D, { 6, 12 } },
{ 9, 0, 6, 7, 7, (uint8_t*)0x00000D41, { 6, 12 } },
{ 11, 0, 5, 9, 9, (uint8_t*)0x00000D6B, { 6, 12 } },
{ 9, 0, 6, 7, 7, (uint8_t*)0x00000D98, { 6, 12 } },
{ 9, 0, 6, 6, 6, (uint8_t*)0x00000DC2, { 6, 12 } },
{ 9, 0, 6, 6, 6, (uint8_t*)0x00000DE6, { 6, 12 } },
{ 9, 0, 6, 6, 6, (uint8_t*)0x00000E0A, { 6, 12 } },
{ 9, 0, 6, 8, 8, (uint8_t*)0x00000E2E, { 6, 12 } },
{ 9, 0, 6, 6, 6, (uint8_t*)0x00000E5E, { 6, 12 } },
{ 11, 1, 4, 10, 10, (uint8_t*)0x00000E82, { 6, 12 } },
{ 11, 2, 2, 10, 10, (uint8_t*)0x00000EAA, { 6, 12 } },
{ 11, 0, 4, 10, 10, (uint8_t*)0x00000EBE, { 6, 12 } },
{ 9, 0, 6, 3, 3, (uint8_t*)0x00000EE6, { 6, 12 } }
}, {
{ 16, 0, 0, 0, 0, (uint8_t*)0x00000000, { 7, 13 } },
{ 11, 2, 2, 10, 10, (uint8_t*)0x00000000, { 7, 13 } },
{ 11, 1, 5, 4, 4, (uint8_t*)0x00000014, { 7, 13 } },
{ 11, 0, 7, 9, 9, (uint8_t*)0x00000028, { 7, 13 } },
{ 11, 0, 6, 10, 10, (uint8_t*)0x00000067, { 7, 13 } },
{ 11, 0, 7, 10, 10, (uint8_t*)0x000000A3, { 7, 13 } },
{ 11, 0, 7, 10, 10, (uint8_t*)0x000000E9, { 7, 13 } },
{ 11, 2, 3, 4, 4, (uint8_t*)0x0000012F, { 7, 13 } },
{ 11, 2, 4, 12, 12, (uint8_t*)0x0000013B, { 7, 13 } },
{ 11, 0, 4, 12, 12, (uint8_t*)0x0000016B, { 7, 13 } },
{ 9, 0, 6, 6, 6, (uint8_t*)0x0000019B, { 7, 13 } },
{ 9, 0, 7, 6, 6, (uint8_t*)0x000001BF, { 7, 13 } },
{ 4, 1, 3, 5, 5, (uint8_t*)0x000001E9, { 7, 13 } },
{ 7, 0, 6, 2, 2, (uint8_t*)0x000001F8, { 7, 13 } },
{ 4, 2, 2, 3, 3, (uint8_t*)0x00000204, { 7, 13 } },
{ 11, 3, 3, 10, 10, (uint8_t*)0x0000020A, { 7, 13 } },
{ 11, 0, 6, 10, 10, (uint8_t*)0x00000228, { 7, 13 } },
{ 11, 0, 4, 9, 9, (uint8_t*)0x00000264, { 7, 13 } },
{ 11, 0, 6, 9, 9, (uint8_t*)0x00000288, { 7, 13 } },
{ 11, 0, 6, 10, 10, (uint8_t*)0x000002BE, { 7, 13 } },
{ 11, 0, 6, 9, 9, (uint8_t*)0x000002FA, { 7, 13 } },
{ 11, 0, 6, 10, 10, (uint8_t*)0x00000330, { 7, 13 } },
{ 11, 0, 6, 10, 10, (uint8_t*)0x0000036C, { 7, 13 } },
{ 11, 0, 6, 9, 9, (uint8_t*)0x000003A8, { 7, 13 } },
{ 11, 0, 6, 10, 10, (uint8_t*)0x000003DE, { 7, 13 } },
{ 11, 0, 6, 10, 10, (uint8_t*)0x0000041A, { 7, 13 } },
{ 8, 2, 2, 7, 7, (uint8_t*)0x00000456, { 7, 13 } },
{ 8, 1, 3, 9, 9, (uint8_t*)0x00000464, { 7, 13 } },
{ 10, 1, 5, 8, 8, (uint8_t*)0x0000047F, { 7, 13 } },
{ 8, 0, 7, 4, 4, (uint8_t*)0x000004A7, { 7, 13 } },
{ 10, 2, 5, 8, 8, (uint8_t*)0x000004C3, { 7, 13 } },
{ 11, 0, 6, 10, 10, (uint8_t*)0x000004EB, { 7, 13 } },
{ 11, 0, 7, 10, 10, (uint8_t*)0x00000527, { 7, 13 } },
{ 11, 0, 7, 9, 9, (uint8_t*)0x0000056D, { 7, 13 } },
{ 11, 0, 6, 9, 9, (uint8_t*)0x000005AC, { 7, 13 } },
{ 11, 0, 7, 10, 10, (uint8_t*)0x000005E2, { 7, 13 } },
{ 11, 0, 7, 9, 9, (uint8_t
xyq2024
- 粉丝: 2719
- 资源: 5521
最新资源
- YOLO算法-人骑两轮车安全数据集-164张图像带标签-头盔-没有头盔.zip
- YOLO算法-天空月亮数据集-440张图像带标签--新月打蜡-第一季度月亮-满月-第三季度月亮-打蜡月亮-新月.zip
- YOLO算法-昆虫计数数据集-258张图像带标签-.zip
- YOLO算法-停车位检测数据集-100张图像带标签-空间为空-占用的空间.zip
- YOLO算法-害虫检测数据集-182张图像带标签-蟑螂.zip
- YOLO算法-死亡昆虫计数数据集-100张图像带标签-.zip
- YOLO算法-停车位检测数据集-100张图像带标签-空间为空.zip
- YOLO算法-耳环数据集-100张图像带标签-耳环.zip
- YOLO算法-鸡蛋表面缺陷检测数据集-50张图像带标签-染色蛋-血染鸡蛋-钙包蛋-钙涂层-脏兮兮的鸡蛋-血污蛋-白鸡蛋-鸡蛋-褐色卵.zip
- YOLO算法-动物人体皮肤寄生虫数据集-73张图像带标签-打上钩.zip
- YOLO算法-耳环数据集-45张图像带标签-耳环.zip
- YOLO算法-人体动物寄生虫检测数据集-48张图像带标签.zip
- YOLO算法-蜜蜂检测数据集数据集-64张图像带标签-蜜蜂.zip
- YOLO算法-蜜蜂检测数据集数据集-20张图像带标签-蜜蜂.zip
- YOLO算法-蜱虫图像检测数据集-75张图像带标签.zip
- 海洋垃圾检测15-YOLO(v5至v9)、COCO、CreateML、Darknet、Paligemma、TFRecord、VOC数据集合集.rar
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈