Skip to content

Commit

Permalink
content: Scaling tests
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes-wolf committed Jan 23, 2025
1 parent 76b1941 commit 79ceb23
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Binary file modified tests/content/ref/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions tests/content/test.typ
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,16 @@
line("a", "b")
})

// #792 Scaling
#test-case({
import draw:*
scale(2)
set-style(content: (auto-scale: false))
content((0,0), [Text])
set-style(content: (auto-scale: true))
content((0,1), [Text])
})

// Compiler crash
#test-case({
import draw: *
Expand Down

0 comments on commit 79ceb23

Please sign in to comment.