From ead2f5dd0b4c15688016b28fdf5389f47ab5f30e Mon Sep 17 00:00:00 2001 From: Kevin Griffin Date: Wed, 22 Jul 2026 13:07:41 -0700 Subject: [PATCH] test: pass the depth map BlockCache::build now requires MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit text_font_rendering.rs still called BlockCache::build with the pre- depth-map signature, so 'cargo test' failed to compile on main. Pass an empty map — the test exercises glyph tessellation, not draw order. Co-Authored-By: Claude Fable 5 --- tests/text_font_rendering.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/text_font_rendering.rs b/tests/text_font_rendering.rs index f156412ea..5ec178192 100644 --- a/tests/text_font_rendering.rs +++ b/tests/text_font_rendering.rs @@ -49,7 +49,7 @@ fn expand_block_mtext( let ins = Insert::new("LABEL_BLOCK", insert_at); doc.add_entity(EntityType::Insert(ins.clone())).unwrap(); - let cache = BlockCache::build(&doc, 1.0, [0.0, 0.0, 0.0, 1.0]); + let cache = BlockCache::build(&doc, 1.0, [0.0, 0.0, 0.0, 1.0], &Default::default()); expand_insert( &cache, &ins,