KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
niji-fonts
★ 9
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
boxee-2026-yoavm
:
Run Kodi 14 + PlexBMC on a Boxee Box in 2026 — disk image, scripts, patches, setup guide
ghost-protocol
:
Operational security and recon scripts for the freedom fighter.
Flask_article_0204
:
No description available.
Hyde-Music-Andorid
:
A modern, high-performance music streaming app powered by YouTube Music, designed for smooth playback, clean UI, and enhanced audio experience.
MaDuGong-skill
:
马督工 Skill — Cursor 马督工睡前消息文字稿蒸馏
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
niji-fonts
?
Download (.md)
 <div style="text-align: center;"> ### 🌈 # The Niji Fontface A custom pixel bitmap font family for embedded systems, low-level rendering, and retro-style UIs. </div> --- ## Overview **Niji** is a hand-crafted extensible 8×16 bitmap font family. It is distributed as C headers or TTF files, making it easy to drop into any embedded or low-level graphics project with zero external dependencies. --- ## Variants | Variant | Size | Preview | | ---------------------------------------------------------------------------- | ------- | ------------------------------------------------------------- | | [niji-pixel-regular-16](fonts/niji-pixel-regular-16/niji-pixel-regular-16.h) | 8×16 px |  | | [niji-pixel-bold-16](fonts/niji-pixel-bold-16/niji-pixel-bold-16.h) | 8×16 px |  | --- ## File Structure ``` fonts/ ├── niji-pixel-regular-16/ │ └── niji-pixel-regular-16.h └── niji-pixel-bold-16/ └── niji-pixel-bold-16.h ``` --- ## Font Format Each font is stored as a static C array of `unsigned char`: ```c static const unsigned char font[][16] = { ... }; ``` - Each entry represents one ASCII character (starting at ASCII 0x20 / space). - Each character is **8 pixels wide** and **16 pixels tall** (1 byte per row, 16 rows). - Bits are ordered **MSB → LSB** (left to right). ### Accessing a character ```c #include "niji-pixel-regular-16.h" // Draw character 'A' (ASCII 65 → index 65 - 32 = 33) char c = 'A'; const unsigned char *glyph = font[c - 32]; for (int row = 0; row < 16; row++) { for (int col = 0; col < 8; col++) { int pixel = (glyph[row] >> (7 - col)) & 1; draw_pixel(x + col, y + row, pixel ? FG_COLOR : BG_COLOR); } } ``` --- ## Usage 1. Copy the desired `.h` file into your project. 2. Include it in your source file. 3. Use the array to render glyphs with your own pixel drawing routine. No build system, no linking, no runtime allocation — just a header. --- ## Character Set Covers the **printable ASCII** range: `0x20` (space) through `0x7E` (~), totalling **95 glyphs**. --- ## License See [LICENSE](LICENSE) for details. --- ## Credits Designed by **Ellicode** · Generated with Elli's little Bitmap Font Generator · Part of the **nijiOS** project. > Made by your favourite silly dragon :3