axlrose / Easy-u8g2-font-generate-tools

This is an easy to operate u8g2 font generation tool. Users only need to input the text to be converted, select the font file and set the font size. The tool will automatically de duplicate the text, generate the map font mapping file, generate the BDF font library, and finally export the C language code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Easy U8g2 font generate tools

这是一个易于操作的U8g2字体生成工具,使用者只需要输入需要转换的文本,选择字体文件以及设置字体大小,该工具会自动对文本进行去重、生成map字体映射文件、生成bdf字库并最终导出C语言字库代码

开源协议

main.py适用于GPL3.0协议

实现功能

  • 自定义文本
  • 文本自动去重
  • ASCII字符可选
  • 自定义ttf字体
  • 自定义字体大小
  • 字间距调整

使用方式

python3 main.py

第三方工具使用

名称 来源
bdfconv https://github.com/olikraus/u8g2
otf2bdf http://sofia.nmsu.edu/~mleisher/Software/otf2bdf/
Alibaba-PuHuiTi-Medium https://ics.alibaba.com/project/Hn8mXx

演示图片

shell界面 生成字体 实际lcd演示

About

This is an easy to operate u8g2 font generation tool. Users only need to input the text to be converted, select the font file and set the font size. The tool will automatically de duplicate the text, generate the map font mapping file, generate the BDF font library, and finally export the C language code

License:GNU General Public License v3.0


Languages

Language:C 72.0%Language:Python 28.0%