we (web engine): Experimental web browser project to understand the limits of Claude

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>


+279 -1
3 changed files