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:
commit
bb4d92c83b
1 changed files with 3 additions and 0 deletions
|
|
@ -72,6 +72,9 @@ fn expand_block_mtext(
|
||||||
None,
|
None,
|
||||||
false,
|
false,
|
||||||
[0.0, 0.0, 0.0, 1.0],
|
[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")
|
.expect("block defn is cached")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue