fix(test): pass anno_scale arg to expand_insert in text_font_rendering

The annotative feature (1b037a6) added a 15th `anno_scale: f32` parameter to `scene::cache::block_cache::expand_insert` and updated the production call sites, but the text_font_rendering integration test was left at 14 arguments, so the test binary fails to compile with E0061 once rebuilt.

Pass `1.0` (no annotative scaling), matching the `BlockCache::build(&doc, 1.0, ...)` call the test already uses.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Kevin Griffin 2026-07-15 19:27:00 -07:00
commit a5c3af42ed

View file

@ -72,6 +72,9 @@ fn expand_block_mtext(
None,
false,
[0.0, 0.0, 0.0, 1.0],
// Annotation scale: 1.0 = no annotative scaling, matching the
// `BlockCache::build(&doc, 1.0, ...)` call above.
1.0,
)
.expect("block defn is cached")
}