https://github.com/something-constant/vector-font-rendering-engine-for-embedded-mcu
A low-resource Vector Font Rendering Engine For Embedded MCU
https://github.com/something-constant/vector-font-rendering-engine-for-embedded-mcu
c embedded embedded-c font graphics microcontroller oled-display-ssd1306 render rendering-engine ssd1306 stm32
Last synced: 5 months ago
JSON representation
A low-resource Vector Font Rendering Engine For Embedded MCU
- Host: GitHub
- URL: https://github.com/something-constant/vector-font-rendering-engine-for-embedded-mcu
- Owner: something-Constant
- License: mit
- Created: 2025-08-10T07:40:10.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-09-04T17:09:23.000Z (5 months ago)
- Last Synced: 2025-09-04T17:39:45.835Z (5 months ago)
- Topics: c, embedded, embedded-c, font, graphics, microcontroller, oled-display-ssd1306, render, rendering-engine, ssd1306, stm32
- Language: C
- Homepage:
- Size: 261 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ***lightweight C Vector Font Rendering Engine For Embedded MCU***
# Overview
I decided to write the Vector Font because I needed a font with different sizes and optimized for a microcontroller, and there wasn't any clear library that had this feature.
In starting this, I have had to write a library for myself, and this repo was born. Currently, it only supports upper-case ASCII, numbers, and some of the necessary symbols,
as that is all that is required to write something on a screen.
# Features
- Simulation in Windows using SDL3 & CMD
- Font 10x10 px
- All development is in the 'C' programming language.
- The numeric data type is integer by default
- Flexibility
- variable size
- variable depth
- support for runtime scaling of fonts
- quadratic bezier curve
# File Index
*PC LCD Simulation:*
- PC LCD Simulation/GraphicLCDSimulation.c - Graphics Display Unit Tests in CMD.
- PC LCD Simulation/SDL_Simulation.c - Graphics Display Unit Tests in SDL.
- PC LCD Simulation/beziercurve.h - quadratic bezier curve.
*Embedded MCU Execution:*
- Embedded MCU Execution/Inc/Font/font_10x10.h - Vector Font.
- Embedded MCU Execution/Inc/Font/font_render_engine.h - Vector Font Rendering Engine.
- Embedded MCU Execution/Inc/beziercurve.h - quadratic bezier curve.
- Embedded MCU Execution/Inc/ssd1306/ssd1306.h - ssd1306 header Library using I2C.
- Embedded MCU Execution/Inc/ssd1306/ssd1306.h - ssd1306 source Library using I2C.
- Embedded MCU Execution/Src/main.c - Test Application using HAL library for STM32F1XX.
# Gallery
### **CDM simulation test**
### **CDM Font scaling**
### **CDM Bezier curve**

### **SDL Bezier curve**

### **ssd1306 Bezier curve**

### **ssd1306 font**
### **ssd1306 font scaling**
### **ssd1306 Test Application**

# Developed By
- Mohamad Hoseyn Meymandi
- [Email](https://mail.google.com/mail/?view=cm%to=mohamadmeymandi82@gmail.com)
- [Telegram](https://t.me/mohamad_electro)