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

边栏推荐
- Huawei Hubble incarnation hard technology IPO harvester
- Redis distributed lock principle and its implementation with PHP (2)
- Stm32+bh1750 photosensitive sensor obtains light intensity
- Install PHP extension spoole
- mapper. Comments in XML files
- 超越PaLM!北大硕士提出DiVeRSe,全面刷新NLP推理排行榜
- 做研究无人咨询、与学生不交心,UNC助理教授两年教职挣扎史
- The elimination strategy of redis
- Visual task scheduling & drag and drop | scalph data integration based on Apache seatunnel
- Calculate weight and comprehensive score by R entropy weight method
猜你喜欢

Aike AI frontier promotion (7.5)

机器学习笔记 - 灰狼优化

lv_font_conv离线转换

Surpass palm! Peking University Master proposed diverse to comprehensively refresh the NLP reasoning ranking

No one consults when doing research and does not communicate with students. UNC assistant professor has a two-year history of teaching struggle

First PR notes
![[JVM] operation instruction](/img/f5/85580495474ef58eafbb421338e93f.png)
[JVM] operation instruction

30岁汇源,要换新主人了

Redis' transaction mechanism

Misc Basic test method and knowledge points of CTF
随机推荐
美团优选管理层变动:老将刘薇调岗,前阿里高管加盟
12 MySQL interview questions that you must chew through to enter Alibaba
Crud de MySQL
Selection and use of bceloss, crossentropyloss, sigmoid, etc. in pytorch classification
I spring web upload
P6183 [USACO10MAR] The Rock Game S
[recruitment position] infrastructure software developer
爱可可AI前沿推介(7.5)
NBA赛事直播超清画质背后:阿里云视频云「窄带高清2.0」技术深度解读
What are CSRF, XSS, SQL injection, DDoS attack and timing attack respectively and how to prevent them (PHP interview theory question)
CPU design practice - Chapter 4 practical task 2 using blocking technology to solve conflicts caused by related problems
episodic和batch的定义
Want to ask the big guy, is there any synchronization from Tencent cloud Mysql to other places? Binlog saved by Tencent cloud MySQL on cos
Talk about your understanding of microservices (PHP interview theory question)
Bubble sort, insert sort
Select sort and bubble sort
How can I quickly check whether there is an error after FreeSurfer runs Recon all—— Core command tail redirection
Photoshop plug-in action related concepts actionlist actiondescriptor actionlist action execution load call delete PS plug-in development
Ctfshow web entry command execution
Photoshop plug-in - action related concepts - actions in non loaded execution action files - PS plug-in development