当前位置:网站首页>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
边栏推荐
- Bugku's steganography
- Common PHP interview questions (1) (written PHP interview questions)
- Super wow fast row, you are worth learning!
- 计算中间件 Apache Linkis参数解读
- MySQL表字段调整
- The difference between SQL Server char nchar varchar and nvarchar
- Common MySQL interview questions (1) (written MySQL interview questions)
- Select sort and bubble sort
- I spring web upload
- Ctfshow web entry command execution
猜你喜欢
Database learning - Database Security
Ctfshow web entry command execution
百亿按摩仪蓝海,难出巨头
Bugku alert
"Sequelae" of the withdrawal of community group purchase from the city
华为哈勃化身硬科技IPO收割机
1330:【例8.3】最少步数
JS knowledge points-01
12 MySQL interview questions that you must chew through to enter Alibaba
你童年的快乐,都是被它承包了
随机推荐
ICML 2022 | 探索语言模型的最佳架构和训练方法
How can I quickly check whether there is an error after FreeSurfer runs Recon all—— Core command tail redirection
lv_font_conv离线转换
数据库学习——数据库安全性
1330: [example 8.3] minimum steps
想问下大家伙,有无是从腾讯云MYSQL同步到其他地方的呀?腾讯云MySQL存到COS上的binlog
Bugku's Ping
Database learning - Database Security
ICML 2022 | explore the best architecture and training method of language model
Bugku's steganography
sql server char nchar varchar和nvarchar的区别
First PR notes
MySQL之CRUD
Huawei Hubble incarnation hard technology IPO harvester
可转债打新在哪里操作开户是更安全可靠的呢
keep-alive
Number protection AXB function! (essence)
Ecotone technology has passed ISO27001 and iso21434 safety management system certification
CODING DevSecOps 助力金融企业跑出数字加速度
Anaconda uses China University of science and technology source