summaryrefslogtreecommitdiff
path: root/test/text.script
diff options
context:
space:
mode:
Diffstat (limited to 'test/text.script')
-rw-r--r--test/text.script6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/text.script b/test/text.script
index 5bea6f5..4381f94 100644
--- a/test/text.script
+++ b/test/text.script
@@ -5,3 +5,9 @@ expect-pixel .zig-cache/text/native.png 84 11 32 64 96 255
expect-pixel .zig-cache/text/native.png 84 24 32 64 96 255
expect-pixel .zig-cache/text/native.png 97 11 16 16 16 255
expect-pixel .zig-cache/text/native.png 84 27 16 16 16 255
+# Another face is another width: ten sans `i` at scale 2 advance 60 px
+# where the mono (bold here, the line below) advances 160.
+expect-pixel .zig-cache/text/native.png 66 198 32 64 96 255
+expect-pixel .zig-cache/text/native.png 80 185 16 16 16 255
+expect-pixel .zig-cache/text/native.png 168 236 32 64 96 255
+expect-pixel .zig-cache/text/native.png 180 222 16 16 16 255