Skip to content

Can content scale? #675

Answered by johannes-wolf
psads-git asked this question in Q&A
Aug 9, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

No, this is not possible right now. Cetz uses a transformation matrix to transform coordinates, but Typst's provides no function to pass such a matrix to transform Content. You have to use Typst's native scale function inside the content call.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@psads-git
Comment options

@johannes-wolf
Comment options

Answer selected by psads-git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants