Telugu Font Lab v3 is a high-performance web tool designed for embedded systems developers, IoT engineers, and makers. It converts complex Telugu UTF-8 text (తెలుగు అక్షరాలు) into memory-optimized C header files (.h) and ready-to-flash Arduino sketches (.ino) for monochrome OLED and color TFT displays.
- 🔡 13+ Pre-Loaded Google Telugu Fonts: Includes Noto Sans Telugu, Dhurjati, Gidugu, Gurajada, Mallanna, Mandali, NTR, Peddana, Ramabhadra, Sree Krushnadevaraya, Suranna, Tenali Ramakrishna, and Timmana, plus custom
.ttf/.otffont upload support. - ⚙️ Advanced Canvas Typography: Real-time rendering with thresholding, baseline offset, rotation, sub-pixel alignment, and font smoothing controls.
- 📦 Memory-Optimized Packing Algorithms:
- Horizontal Packing: MSB First / LSB First bit alignment.
- Vertical Packing: Page-based memory structure tailored for SSD1306 & SH1106 displays.
- Bounding-Box Cropping: Automatically clips empty whitespace around glyphs to minimize SRAM & Flash footprint.
- Run-Length Encoding (RLE): Optional RLE compression for ultra-low flash microcontrollers.
- 💻 Cross-Platform C Header & Sketch Generator:
- Compatible with
Adafruit_GFX,U8g2,TFT_eSPI, and custom C libraries. - Auto-generates complete
.inosketch code with working display initialization.
- Compatible with
- 📺 Interactive OLED Hardware Simulator:
- Live preview matrix matching SSD1306 (128x64 / 128x32), SH1106, ST7789, ILI9341, and custom display resolutions.
- Dynamic pixel glow, grid toggle, and OLED contrast simulation.
- 🔍 Pixel Inspector & Letter Bitmaps:
- Zoomable grid inspector to inspect individual bit arrays and byte structures.
- Glyph Bank listing all extracted Telugu ligatures and conjuncts.
- 🔌 Wiring & Pinout Diagrams:
- Comprehensive hardware wiring guides for Arduino Uno (ATmega328P), ESP32, STM32 BluePill, and Raspberry Pi Pico (RP2040) over I2C and SPI.
- 📦 One-Click ZIP Exporter:
- Export complete project package containing C headers, Arduino sketches, documentation, and bitmap data.
- Node.js (v18.0 or higher recommended)
npmorbun
-
Clone the repository:
git clone https://github.com/manepalliteja37/telugu-font-lab.git cd telugu-font-lab -
Install dependencies:
npm install
-
Start the local development server:
npm run dev
Open your browser at
http://localhost:3000. -
Build for production:
npm run build
-
Typecheck & Lint:
npm run typecheck
| Platform | Microcontroller | Typical Display | Interface |
|---|---|---|---|
| Arduino | ATmega328P / Nano / Mega | SSD1306 (128x64) | I2C / SPI |
| ESP32 | ESP32-WROOM / ESP32-S3 | SH1106 / ST7789 | I2C / SPI |
| STM32 | STM32F103C8T6 (BluePill) | SSD1306 / ILI9341 | I2C / SPI |
| Raspberry Pi | RP2040 / Pico | SSD1306 / Waveshare OLED | I2C / SPI |
.
├── src/
│ ├── components/ # UI Modules (Simulator, Controls, Wiring, Inspector, Code)
│ │ ├── CodeViewerComponent.ts
│ │ ├── ControlsPanelComponent.ts
│ │ ├── DisplaySimulatorComponent.ts
│ │ ├── ExportDebugPanelComponent.ts
│ │ ├── GeneratorControlsComponent.ts
│ │ ├── GlyphBankComponent.ts
│ │ ├── HardwareTuningComponent.ts
│ │ ├── HeaderComponent.ts
│ │ ├── HelpGuideComponent.ts
│ │ ├── PixelInspectorComponent.ts
│ │ └── WiringGuideComponent.ts
│ ├── lib/ # Core Bitmapping & Code Generation Logic
│ │ ├── bit-packer.ts # Bit-level packing algorithms
│ │ ├── c-header-generator.ts # C header formatter & PROGMEM array builder
│ │ ├── exporter.ts # Zip export generator
│ │ ├── font-loader.ts # Google Fonts & web font manager
│ │ ├── ino-generator.ts # Arduino .ino sketch code builder
│ │ ├── preset-manager.ts # Display & hardware preset configurations
│ │ ├── store.ts # Centralized reactive state store
│ │ ├── telugu-segmenter.ts # Telugu grapheme cluster segmenter
│ │ └── validator.ts # State & input validation logic
│ ├── index.css # Tailwind v4 styles & custom scrollbars
│ ├── main.tsx # Web application entry point
│ └── types.ts # TypeScript interfaces & state models
├── index.html # Root HTML document with Google Telugu Fonts pre-warmed
├── package.json # Scripts & dependencies
├── tsconfig.json # TypeScript compiler setup
├── vite.config.ts # Vite bundler configuration
└── LICENSE # MIT License
- Open Telugu Font Lab v3 in your browser.
- Enter your desired Telugu text (e.g.
నమస్కారంor custom sensor values). - Select your preferred Telugu font style, size, and display hardware.
- Click on the C Code tab and copy the generated
telugu_font.hor download the complete ZIP project package. - Move
telugu_font.hinto your Arduino sketch directory. - In your
.inosketch:#include <Wire.h> #include <Adafruit_GFX.h> #include <Adafruit_SSD1306.h> #include "telugu_font.h" Adafruit_SSD1306 display(128, 64, &Wire, -1); void setup() { display.begin(SSD1306_SWITCHCAPVCC, 0x3C); display.clearDisplay(); // Draw Telugu bitmap onto OLED drawTeluguText(&display, 10, 20); display.display(); } void loop() {}
Created with ❤️ by Telugu Mad Thinker
Assisted by ✨ Google AI Studio
Connect with the author:
- 🎥 YouTube: @telugu_mad_thinker
- 📸 Instagram: @telugu_mad_thinker
- 𝕏 Twitter/X: @TejaMane37
- 🛠️ Instructables: telugu_mad_thinker
- 💻 GitHub: @manepalliteja37
This project is open-source and licensed under the MIT License.