/*
* 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
没有合适的资源?快使用搜索试试~ 我知道了~
基于C语言的LCUI图形用户界面库设计源码
共495个文件
c:209个
h:149个
md:22个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 49 浏览量
2024-09-28
13:18:45
上传
评论
收藏 2.48MB ZIP 举报
温馨提示
该项目是使用C语言编写的LCUI图形用户界面库设计源码,涵盖450个文件,其中包括141个C源文件、111个头文件、27个Visual Studio项目文件、27个过滤器文件、19个Android Make文件、16个Shell脚本、13个Markdown文件、12个XML文件、10个CSS样式表、9个C++源文件、9个HTML文件和16个Python脚本。该库专注于开发图形用户界面,适用于构建跨平台的应用程序界面。
资源推荐
资源详情
资源评论
收起资源包目录
基于C语言的LCUI图形用户界面库设计源码 (495个子文件)
Package.appxmanifest 2KB
AUTHORS 143B
test_image_reader.bmp 19KB
inconsolata.c 293KB
computed.c 43KB
text.c 42KB
textinput.c 36KB
value.c 31KB
ui_flexbox_layout.c 28KB
test.c 28KB
ui_events.c 28KB
scrollbar.c 28KB
server.c 27KB
win32_app.c 25KB
border.c 25KB
test_block_layout.c 24KB
properties.c 24KB
ui_renderer.c 24KB
border.c 22KB
test_flex_layout.c 22KB
ui_updater.c 20KB
library.c 18KB
library.c 18KB
fbapp.c 18KB
boxshadow.c 18KB
x11app.c 17KB
lcui_ui.c 16KB
ui_tree.c 14KB
ui_widget_style.c 14KB
background.c 14KB
test_css_value.c 14KB
selector.c 13KB
x11clipboard.c 13KB
ui_block_layout.c 12KB
ui_xml.c 12KB
rect.c 12KB
text.c 12KB
canvas.c 11KB
ui_image.c 11KB
fabric.c 11KB
utils.c 10KB
matcher.c 10KB
png.c 9KB
test_font_load.c 8KB
style_tag.c 8KB
location.c 8KB
reader.c 8KB
parser.c 8KB
data_types.c 8KB
ui_mutation_observer.c 7KB
cursor.c 7KB
test_scrollbar.c 7KB
font_face_parser.c 7KB
link.c 7KB
anchor.c 6KB
test_css_computed.c 6KB
windows.c 6KB
ui_widget_box.c 6KB
ime.c 6KB
ui_widget.c 6KB
jpeg.c 6KB
style_value.c 6KB
main.c 6KB
ui_diff.c 6KB
freetype.c 6KB
app.c 5KB
keywords.c 5KB
pthread.c 5KB
ui_text_style.c 5KB
events.c 5KB
view.c 5KB
yaml.c 5KB
style_decl.c 5KB
zoom.c 5KB
flex.c 5KB
bmp.c 5KB
test_text_resize.c 5KB
ui_widget_prototype.c 5KB
test_widget_rect.c 5KB
ui_rect.c 5KB
lcui.c 4KB
test_render.c 4KB
canvas.c 4KB
router.c 4KB
strmap.c 4KB
i18n.c 4KB
worker.c 4KB
main.c 4KB
mouse.c 4KB
test_widget_event.c 4KB
style.c 4KB
ctest.c 4KB
test_paint_background.c 4KB
history.c 4KB
textcaret.c 4KB
test_paint_boxshadow.c 4KB
test_widget_opacity.c 4KB
ui_widget_observer.c 4KB
keyboard.c 4KB
ui_widget_attributes.c 3KB
共 495 条
- 1
- 2
- 3
- 4
- 5
资源评论
xyq2024
- 粉丝: 2332
- 资源: 5434
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于Visual Basic .Net及Python技术的学校需求解决方案设计源码
- 基于Java语言的Web开发学习Demo设计源码
- 基于Java的医院排队叫号系统界面原型设计源码
- 基于Java语言的Himalaya仿喜马拉雅设计源码
- 基于PHP+HTML+CSS+JavaScript的智能电车管家设计源码
- 基于Emscripten编译的纯H5直播流播放器jessibuca设计源码
- 基于react-native的Android隐私合规配置与代码集成设计源码
- 基于JavaFX技术的全功能色彩管理器设计源码
- erlang-21.3-1.el7.x86-64.rpm
- eclipse-inst-jre-win64.exe
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功