Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/petabyt/font
5x7 General Purpose Font
https://github.com/petabyt/font
c embedded font single-header-lib
Last synced: 1 day ago
JSON representation
5x7 General Purpose Font
- Host: GitHub
- URL: https://github.com/petabyt/font
- Owner: petabyt
- License: mit
- Created: 2020-08-22T17:56:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-25T19:09:03.000Z (about 1 year ago)
- Last Synced: 2025-01-12T22:15:02.409Z (6 days ago)
- Topics: c, embedded, font, single-header-lib
- Language: C
- Homepage:
- Size: 42 KB
- Stars: 14
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 7x5 Font
![Demo](example.png)A simple font for OS dev, embedded, etc.
For a 3x3 font, check out https://github.com/petabyt/font3x3
## Features:
- A-Z
- a-z
- 0-9
- 28 symbols
- No specification needed, it's dead simple
- C Preprocessor options
- Some [extended ASCII](https://theasciicode.com.ar/extended-ascii-code/block-graphic-character-ascii-code-219.html) characters## Usage:
For easy modification, the font is stored in 7x5 character array.
Simply loop through the array to find the char you need, then
loop through the characters, (height = 7, width = 5). When you
encounter a '#', plot. If space, don't plot.Compile demo.c for a simple terminal-based example.