Merge pull request #393 from KevinGriffin-new/fix/text-font-rendering-anno-scale

Pass anno_scale to expand_insert in the text_font_rendering test.

The annotative feature (1b037a6) added a 15th anno_scale parameter and
updated the production call sites, leaving this integration test at 14
arguments — it failed to compile with E0061 once rebuilt. cargo build does
not cover it; cargo test does.
This commit is contained in:
Hakan Seven 2026-07-16 10:26:48 +03:00
commit bb4d92c83b

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")
}