switch to element defined span lens + better size fn

This commit is contained in:
2025-11-13 14:27:31 -05:00
parent 8755c04feb
commit 73afea8c35
17 changed files with 767 additions and 646 deletions

View File

@@ -64,6 +64,7 @@ impl TextBuilderOutput for TextOutput {
&builder.content,
&Attrs::new(),
Shaping::Advanced,
None,
);
let mut text = Text {
content: builder.content.into(),
@@ -94,6 +95,7 @@ impl TextBuilderOutput for TextEditOutput {
&builder.content,
&Attrs::new(),
Shaping::Advanced,
None,
);
builder.attrs.apply(font_system, &mut text.buf, None);
text