TypstItem
Open
enhancement
- Dominant language
- Rust
- Stars
- 647
- Forks
- 37
- Avg merge
- 6h 12m
- Merged PRs (30d)
- 17
Description
Based on `Group`.
The following two TypstItem should have same height (but currently the `Group::from_svg` does not):
```typst
#text(50pt, font: "LXGW Bright")[ranim v0.1.0]
```
```typst
#text(50pt, font: "LXGW Bright", fill: orange)[alpha]
```
Currently the workaround is create a dumb group of vitem contains all characters:
```typst
#text(50pt, font: "LXGW Bright")[ranim v0.1.0]
#text(50pt, font: "LXGW Bright", fill: orange)[alpha]
```
Then use the position data from this group (for example by `get_bounding_box`) to correct two true groups.
Contributor guide
Assessment
This issue has not been assessed yet.