Integration: rustfmt the composite note label call in shape_para

The #126 merge resolution moved #126's composite-font note label shaping into #81's
piece pass and passed #81's StyleRuns; the resulting call is longer than one line.
This commit is contained in:
aiongg
2026-10-09 22:54:32 +00:00
parent 66bf8585f9
commit 76746924fd
+12 -1
View File
@@ -417,7 +417,18 @@ pub(crate) fn shape_para(
let style = table.intern(db, &props);
let env = table.env_for(first.env, style);
let face = db.face(&props.font_family, &props.font_style);
shape_segment(db, &story.text, first.range.clone(), label.get(a..b), &props, &face, env, &StyleRuns(&[(at, style)]), &mut glyphs, sub.vertical);
shape_segment(
db,
&story.text,
first.range.clone(),
label.get(a..b),
&props,
&face,
env,
&StyleRuns(&[(at, style)]),
&mut glyphs,
sub.vertical,
);
}
for (index, glyph) in glyphs[begin..].iter_mut().enumerate() {
glyph.len = if index == 0 { first.range.len() } else { 0 };