当前位置:网站首页>lv_ font_ Conv offline conversion
lv_ font_ Conv offline conversion
2022-07-05 15:24:00 【Neo Wordsworth】
esp32 Use lvgl, Need to use Chinese
need nodejs, My is win7, Only use 13.14.0 edition , Higher cannot be installed
Get the source code
CNPM Binaries Mirrorhttps://registry.npmmirror.com/binary.html?path=node/v13.14.0/
Clone the warehouse
https://github.com/lvgl/lv_font_conv.git
In source Under the table of contents , function npm install, Package required for installation
Join the system global
restart cmd, function lv_font_conv -h Test it ( Cannot run in a directory with the same name , Switch any directory )
In the font directory , open cmd
Run font conversion
( Fonts are downloaded here http:// lvgl.100ask.net/8.2/tools/fonts-zh-source.html#id2)
lv_font_conv --font SourceHanSansCN-Light-2.otf -r 0x20-0x7E -r 0x4E00-0x9FFF --size 16 --format lvgl --bpp 2 --no-compress -o ./lvgl.c
The parameters are as follows , More parameters can be found in github
--font:
ttf/woff/woff2/otf The font path
-r, --range
Single character or character range . You can use it multiple times
--size
Output character size - Pixels
--format
Output format (dump,bin,lvgl)
--bpp
The number of bits per pixel ( Anti-Aliasing )
--no-compress
No compression ( Compressing fonts reduces the size but slows down rendering )
-o, --output
The output path ( File or directory )
convert network
边栏推荐
- 把 ”中台“ 的思想迁移到代码中去
- PHP high concurrency and large traffic solution (PHP interview theory question)
- Hongmeng system -- Analysis from the perspective of business
- 百亿按摩仪蓝海,难出巨头
- How can the boss choose programmers to help me with development?
- Ecotone technology has passed ISO27001 and iso21434 safety management system certification
- 美团优选管理层变动:老将刘薇调岗,前阿里高管加盟
- go学习 ------jwt的相关知识
- Detailed explanation of QT creator breakpoint debugger
- Creation and use of thymeleaf template
猜你喜欢
亿咖通科技通过ISO27001与ISO21434安全管理体系认证
ionic cordova项目修改插件
729. My schedule I: "simulation" & "line segment tree (dynamic open point) &" block + bit operation (bucket Division) "
Talk about your understanding of microservices (PHP interview theory question)
Stop B makes short videos, learns Tiktok to die, learns YouTube to live?
Misc Basic test method and knowledge points of CTF
Aike AI frontier promotion (7.5)
Photoshop plug-in action related concepts actionlist actiondescriptor actionlist action execution load call delete PS plug-in development
CSRF, XSS science popularization and defense
超越PaLM!北大碩士提出DiVeRSe,全面刷新NLP推理排行榜
随机推荐
Mongdb learning notes
queryRunner. Query method
Crud of MySQL
我这边同时采集多个oracle表,采集一会以后,会报oracle的oga内存超出,大家有没有遇到的?
MySQL----函数
华为哈勃化身硬科技IPO收割机
MySQL之CRUD
Garbage collection mechanism of PHP (theoretical questions of PHP interview)
Bugku's Ah Da
B站做短视频,学抖音死,学YouTube生?
JS knowledge points-01
CPU design related notes
机器学习框架简述
Live broadcast preview | how to implement Devops with automatic tools (welfare at the end of the article)
超越PaLM!北大硕士提出DiVeRSe,全面刷新NLP推理排行榜
Bugku's eyes are not real
可转债打新在哪里操作开户是更安全可靠的呢
Talk about your understanding of microservices (PHP interview theory question)
MySQL表字段调整
"Sequelae" of the withdrawal of community group purchase from the city