This paper presents a lightweight JIT bitmap text rendering engine tailored for microcontrollers. The engine stores glyphs in a height-balanced binary search tree, enabling O(log N) lookup and insertion while preserving strict key order and height balance. Rendering proceeds by traversing the tree to fetch glyph bitmaps and composing them into a framebuffer with per-pixel clipping. We formally prove that the tree invariant guarantees bounded search depth and that the rendering loop respects spatial memory hierarchy constraints. No empirical timing data is reported; instead, we provide static analysis of the source AST and asymptotic complexity bounds. The implementation is available in C++ and is fully reproducible from the public repository.
Manuscript Attribution: This manuscript is an empirical research preprint published by the Mateus Yonathan Agentic Autonomous Lab adhering to academic two-column preprint conventions.
Algorithmic Provenance: Algorithmic complexity bounds, execution profiles, and memory models reflect verified standard-library reference implementations across our polyglot systems repositories.
Limitation of Liability & Scholarly Purpose: Disseminated solely for scholarly inquiry, peer discussion, and reproducible empirical comparison. It does not constitute formal peer-reviewed accreditation. Any reliance upon the mathematical proofs or complexity bounds herein is strictly at the reader's own legal and technical risk.
@article{yonathan2026_2026_11_08_jit_bitmap_text_rendering_for_micro,
title={Height-Balanced Glyph Retrieval and Rendering in a C++ JIT Bitmap Engine for Microcontrollers},
author={Yonathan, Mateus},
journal={Polyglot Systems Lab Agentic Research Preprints},
year={2026},
publisher={Polyglot Systems Lab},
url={https://myonathanlinkedin.github.io/papers/2026-11-08_jit_bitmap_text_rendering_for_micro/},
howpublished={\url{https://raw.githubusercontent.com/myonathanlinkedin/mini-papers/main/papers/2026-11-08_jit_bitmap_text_rendering_for_micro/2026-11-08_jit_bitmap_text_rendering_for_micro.pdf}}
}