diff --git a/experiments/2024-10-30/src/render/text.rs b/experiments/2024-10-30/src/render/text.rs index 2afd3b96d..0aecf26d8 100644 --- a/experiments/2024-10-30/src/render/text.rs +++ b/experiments/2024-10-30/src/render/text.rs @@ -77,10 +77,12 @@ impl TextRenderer { ); for op in operations.operations.iter() { + let attrs = glyphon::Attrs::new(); + buffer.lines.push(glyphon::BufferLine::new( format!("{op}"), glyphon::cosmic_text::LineEnding::Lf, - glyphon::AttrsList::new(glyphon::Attrs::new()), + glyphon::AttrsList::new(attrs), glyphon::Shaping::Advanced, )); }