diff options
| author | Laurenz <laurmaedje@gmail.com> | 2025-02-02 20:25:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-02 19:25:58 +0000 |
| commit | 12dbb012b19a29612fc863c558901200b4013f5d (patch) | |
| tree | 58626fb7ccbf316408a86054e52fe7dea4ef7024 /crates/typst-layout/src/image.rs | |
| parent | f239b0a6a1e68a016cacf19eeef2df52e4affeb9 (diff) | |
Revert adding `flatten-text` to `image` (#5789)
Diffstat (limited to 'crates/typst-layout/src/image.rs')
| -rw-r--r-- | crates/typst-layout/src/image.rs | 1 |
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)?, |
