Skip to content

alextrical/LVGL-font-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LVGL Font Builder Action

This GitHub Action automates the generation of optimized C-source font files for the LVGL (Light and Versatile Graphics Library) ecosystem.

Overview

Manually managing font conversion for embedded UI projects can be tedious. This workflow streamlines the process by:

  • Downloading the latest Montserrat TrueType font.
  • Using lv_font_conv to convert fonts into C arrays.
  • Applying specific ranges and sizes (12, 16, 20, 30) for memory-efficient UI development.
  • Artifacting the generated .c files for immediate use in your firmware builds.

Workflow Usage

To use this in your own repository, copy the workflow YAML into your .github/workflows/ directory.

Configuration

The workflow triggers on workflow_dispatch (manual) or whenever the workflow file itself is updated. You can customize the RANGE variable in the script to support specific character sets (e.g., Extended Latin or Symbols) required by your application.

Credits

About

A GitHub Action workflow to automatically download font files and convert them into LVGL-compatible C source files for embedded projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors