当前位置:网站首页>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 Mirror
https://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

边栏推荐
- 美团优选管理层变动:老将刘薇调岗,前阿里高管加盟
- Aike AI frontier promotion (7.5)
- lv_font_conv离线转换
- Machine learning notes - gray wolf optimization
- Fr exercise topic - simple question
- Redis distributed lock principle and its implementation with PHP (2)
- Huiyuan, 30, is going to have a new owner
- Magic methods and usage in PHP (PHP interview theory questions)
- Bugku's eyes are not real
- 可转债打新在哪里操作开户是更安全可靠的呢
猜你喜欢

I spring and autumn blasting-2

Aike AI frontier promotion (7.5)

Huawei Hubble incarnation hard technology IPO harvester

Photoshop plug-in action related concepts actionlist actiondescriptor actionlist action execution load call delete PS plug-in development

CODING DevSecOps 助力金融企业跑出数字加速度

Bugku's steganography

Bugku telnet

CPU design related notes

Garbage collection mechanism of PHP (theoretical questions of PHP interview)

Usage and usage instructions of JDBC connection pool
随机推荐
Thymeleaf uses background custom tool classes to process text
GPS original coordinates to Baidu map coordinates (pure C code)
Calculate weight and comprehensive score by R entropy weight method
Ten billion massage machine blue ocean, difficult to be a giant
Bubble sort, insert sort
Huawei Hubble incarnation hard technology IPO harvester
Using tensorboard to visualize the training process in pytoch
Anaconda uses China University of science and technology source
Behind the ultra clear image quality of NBA Live Broadcast: an in-depth interpretation of Alibaba cloud video cloud "narrowband HD 2.0" technology
美团优选管理层变动:老将刘薇调岗,前阿里高管加盟
我这边同时采集多个oracle表,采集一会以后,会报oracle的oga内存超出,大家有没有遇到的?
Database learning - Database Security
把 ”中台“ 的思想迁移到代码中去
Bugku alert
P6183 [USACO10MAR] The Rock Game S
Where is the operation of convertible bond renewal? Is it safer and more reliable to open an account
SQL Server learning notes
I spring and autumn blasting-2
漫画:程序员不是修电脑的!
Bugku's eyes are not real