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

边栏推荐
- 漫画:优秀的程序员具备哪些属性?
- What are the domestic formal futures company platforms in 2022? How about founder metaphase? Is it safe and reliable?
- 社区团购撤城“后遗症”
- Selection and use of bceloss, crossentropyloss, sigmoid, etc. in pytorch classification
- Aike AI frontier promotion (7.5)
- Anaconda uses China University of science and technology source
- maxcompute有没有能查询 表当前存储容量的大小(kb) 的sql?
- CPU design related notes
- No one consults when doing research and does not communicate with students. UNC assistant professor has a two-year history of teaching struggle
- I include of spring and Autumn
猜你喜欢

Common redis data types and application scenarios

I include of spring and Autumn

可视化任务编排&拖拉拽 | Scaleph 基于 Apache SeaTunnel的数据集成

swiper. JS to achieve barrage effect

keep-alive

CSRF, XSS science popularization and defense

Stop B makes short videos, learns Tiktok to die, learns YouTube to live?

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

"Sequelae" of the withdrawal of community group purchase from the city

DVWA range clearance tutorial
随机推荐
Creation and optimization of MySQL index
CPU design practice - Chapter 4 practice task 3 use pre delivery technology to solve conflicts caused by related issues
lv_font_conv离线转换
Where is the operation of convertible bond renewal? Is it safer and more reliable to open an account
The difference between SQL Server char nchar varchar and nvarchar
JS topic - console log()
mapper.xml文件中的注释
Bubble sort, insert sort
NBA赛事直播超清画质背后:阿里云视频云「窄带高清2.0」技术深度解读
R 熵权法计算权重及综合得分
JS bright blind your eyes date selector
[12 classic written questions of array and advanced pointer] these questions meet all your illusions about array and pointer, come on!
queryRunner. Query method
sql server char nchar varchar和nvarchar的区别
Thymeleaf uses background custom tool classes to process text
maxcompute有没有能查询 表当前存储容量的大小(kb) 的sql?
P1451 求细胞数量/1329:【例8.2】细胞
Surpass palm! Peking University Master proposed diverse to comprehensively refresh the NLP reasoning ranking
CODING DevSecOps 助力金融企业跑出数字加速度
Redis' transaction mechanism