An open API service indexing awesome lists of open source software.

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

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**
image

### **CDM Font scaling**
image

### **CDM Bezier curve**
image

### **SDL Bezier curve**
image
image

### **ssd1306 Bezier curve**
image
image

### **ssd1306 font**
image

### **ssd1306 font scaling**
image
image
image

### **ssd1306 Test Application**
image

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