当前位置:网站首页>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
边栏推荐
- I spring and autumn blasting-1
- Ionic Cordova project modification plug-in
- Severlet learning foundation
- MySQL之CRUD
- Install and configure Jenkins
- Detailed explanation of QT creator breakpoint debugger
- 数据库学习——数据库安全性
- Selection and use of bceloss, crossentropyloss, sigmoid, etc. in pytorch classification
- Ctfshow web entry explosion
- Reconnaissance des caractères easycr
猜你喜欢
Ionic Cordova project modification plug-in
Misc Basic test method and knowledge points of CTF
Common redis data types and application scenarios
Dark horse programmer - software testing -10 stage 2-linux and database -44-57 why learn database, description of database classification relational database, description of Navicat operation data, de
Bugku's steganography
Surpass palm! Peking University Master proposed diverse to comprehensively refresh the NLP reasoning ranking
Anti shake and throttling
CSRF, XSS science popularization and defense
Bugku easy_ nbt
计算中间件 Apache Linkis参数解读
随机推荐
Anaconda uses China University of science and technology source
Mysql---- function
Thymeleaf uses background custom tool classes to process text
keep-alive
The difference between SQL Server char nchar varchar and nvarchar
Creation and optimization of MySQL index
GPS original coordinates to Baidu map coordinates (pure C code)
30岁汇源,要换新主人了
episodic和batch的定义
easyOCR 字符识别
Fr exercise topic - simple question
How can I quickly check whether there is an error after FreeSurfer runs Recon all—— Core command tail redirection
CPU design practice - Chapter 4 practical task 2 using blocking technology to solve conflicts caused by related problems
NBA赛事直播超清画质背后:阿里云视频云「窄带高清2.0」技术深度解读
Object. defineProperty() - VS - new Proxy()
Database learning - Database Security
计算中间件 Apache Linkis参数解读
可视化任务编排&拖拉拽 | Scaleph 基于 Apache SeaTunnel的数据集成
Ctfshow web entry command execution
lv_font_conv离线转换