summaryrefslogtreecommitdiff
path: root/crates/typst-layout/src
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2025-02-02 20:25:58 +0100
committerGitHub <noreply@github.com>2025-02-02 19:25:58 +0000
commit12dbb012b19a29612fc863c558901200b4013f5d (patch)
tree58626fb7ccbf316408a86054e52fe7dea4ef7024 /crates/typst-layout/src
parentf239b0a6a1e68a016cacf19eeef2df52e4affeb9 (diff)
Revert adding `flatten-text` to `image` (#5789)
Diffstat (limited to 'crates/typst-layout/src')
-rw-r--r--crates/typst-layout/src/image.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/typst-layout/src/image.rs b/crates/typst-layout/src/image.rs
index 503c3082..d963ea50 100644
--- a/crates/typst-layout/src/image.rs
+++ b/crates/typst-layout/src/image.rs
@@ -63,7 +63,6 @@ pub fn layout_image(
SvgImage::with_fonts(
data.clone(),
engine.world,
- elem.flatten_text(styles),
&families(styles).map(|f| f.as_str()).collect::<Vec<_>>(),
)
.at(span)?,