summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/visualize/image-scale.typ6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/typ/visualize/image-scale.typ b/tests/typ/visualize/image-scale.typ
new file mode 100644
index 00000000..7ddf435e
--- /dev/null
+++ b/tests/typ/visualize/image-scale.typ
@@ -0,0 +1,6 @@
+// Test that images aren't upscaled.
+
+---
+// Image is just 48x80 at 220dpi. It should not be scaled to fit the page
+// width, but rather max out at its natural size.
+#image("/assets/images/f2t.jpg")