Something went wrong. Try again.
we (web engine): Experimental web browser project to understand the limits of Claude
Something went wrong. Try again.
Implement glyph cache: HashMap of rasterized bitmaps master
- GlyphCache stores rasterized bitmaps keyed by (glyph_id, size_px) - Size quantized to integer pixels to bound cache size - Font::get_glyph_bitmap() checks cache before rasterizing - Font::render_text() combines shaping with cached bitmap lookup - PositionedGlyph struct with x/y position and optional bitmap - 9 new tests: cache hit/miss, size quantization, render_text behavior Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Author Pierre Le Fevre Co-author Claude Opus 4.6 Date (Feb 27, 2026, 5:36 PM UTC) Commit a841298a a841298ae6b979262829cc035140be7bd617dcfe Parent 8a500cf4 8a500cf4d77f671d5b9b0f16f6b47ba55a240bee