diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-10 12:10:40 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-12 13:22:02 -0300 |
| commit | faf40df6f31e98eb752fd5e96330221c8f7dbcc7 (patch) | |
| tree | ab9356732afbbbb18e85f973945249a738863ae7 /test/text.script | |
| parent | 71e534631bf68f33f802d64794340870374b9f69 (diff) | |
| download | sketchbook-faf40df6f31e98eb752fd5e96330221c8f7dbcc7.tar.gz sketchbook-faf40df6f31e98eb752fd5e96330221c8f7dbcc7.zip | |
sketchbook: text in six faces of the Go family, all bundled (f.textIn, host.textSizeIn, sk.Face)
Diffstat (limited to 'test/text.script')
| -rw-r--r-- | test/text.script | 6 |
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 |
