Run paint tests at upem scale

This avoids problems with rouding.
This commit is contained in:
Matthias Clasen 2023-01-09 13:38:19 -05:00
parent 839f4b6494
commit ec78a486bf
14 changed files with 57 additions and 53 deletions

View File

@ -1,4 +1,4 @@
# random seed: R02Sae2a6eb5448b6baf7ec7e4d90bcf461d
# random seed: R02S79074e3f6ed33cb4f77c57830d098cea
# Start of hb tests
# Start of paint tests
# Start of ot tests

View File

@ -1,9 +1,13 @@
start clip rectangle 94.000 -328.000 1782.000 1359.000
start transform 1.464844 0.000000 0.000000 1.464844 0.000000 0.000000
# random seed: R02Sfe3faff817e7ab3e4b8259ff59adc0ba
# Start of hb tests
# Start of paint tests
# Start of ot tests
start clip rectangle 64.000 -224.000 1216.000 928.000
start transform 1.000000 0.000000 0.000000 1.000000 0.000000 0.000000
push group
start transform 0.682667 0.000000 -0.000000 0.682667 0.000000 0.000000
start transform 1.000000 0.000000 -0.000000 1.000000 0.000000 0.000000
start clip glyph 13
start transform 1.464844 0.000000 0.000000 1.464844 0.000000 0.000000
start transform 1.000000 0.000000 0.000000 1.000000 0.000000 0.000000
start transform 1.000000 0.000000 0.000000 0.976807 0.000000 0.000000
radial gradient
p0 280.000000 440.000000 radius 0.000000
@ -19,9 +23,9 @@ start clip rectangle 94.000 -328.000 1782.000 1359.000
end transform
pop group mode 3
push group
start transform 0.682667 0.000000 -0.000000 0.682667 0.000000 0.000000
start transform 1.000000 0.000000 -0.000000 1.000000 0.000000 0.000000
start clip glyph 14
start transform 1.464844 0.000000 0.000000 1.464844 0.000000 0.000000
start transform 1.000000 0.000000 0.000000 1.000000 0.000000 0.000000
linear gradient
p0 231.000000 -27.000000
p1 1019.000000 -27.000000
@ -34,27 +38,27 @@ start clip rectangle 94.000 -328.000 1782.000 1359.000
end transform
pop group mode 3
push group
start transform 0.682667 0.000000 -0.000000 0.682667 0.000000 0.000000
start transform 1.000000 0.000000 -0.000000 1.000000 0.000000 0.000000
start clip glyph 15
start transform 1.464844 0.000000 0.000000 1.464844 0.000000 0.000000
start transform 1.000000 0.000000 0.000000 1.000000 0.000000 0.000000
solid 145 103 77 255
end transform
end clip
end transform
pop group mode 3
push group
start transform 0.682667 0.000000 -0.000000 0.682667 0.000000 0.000000
start transform 1.000000 0.000000 -0.000000 1.000000 0.000000 0.000000
start clip glyph 16
start transform 1.464844 0.000000 0.000000 1.464844 0.000000 0.000000
start transform 1.000000 0.000000 0.000000 1.000000 0.000000 0.000000
solid 30 136 229 255
end transform
end clip
end transform
pop group mode 3
push group
start transform 0.682667 0.000000 -0.000000 0.682667 0.000000 0.000000
start transform 1.000000 0.000000 -0.000000 1.000000 0.000000 0.000000
start clip glyph 21
start transform 1.464844 0.000000 0.000000 1.464844 0.000000 0.000000
start transform 1.000000 0.000000 0.000000 1.000000 0.000000 0.000000
solid 145 103 77 255
end transform
end clip
@ -62,9 +66,9 @@ start clip rectangle 94.000 -328.000 1782.000 1359.000
pop group mode 3
push group
push group
start transform 0.682667 0.000000 -0.000000 0.682667 0.000000 0.000000
start transform 1.000000 0.000000 -0.000000 1.000000 0.000000 0.000000
start clip glyph 16
start transform 1.464844 0.000000 0.000000 1.464844 0.000000 0.000000
start transform 1.000000 0.000000 0.000000 1.000000 0.000000 0.000000
linear gradient
p0 669.000000 776.000000
p1 180.000000 -106.000000
@ -77,9 +81,9 @@ start clip rectangle 94.000 -328.000 1782.000 1359.000
end transform
pop group mode 3
push group
start transform 0.682667 0.000000 -0.000000 0.682667 0.000000 0.000000
start transform 1.000000 0.000000 -0.000000 1.000000 0.000000 0.000000
start clip glyph 18
start transform 1.464844 0.000000 0.000000 1.464844 0.000000 0.000000
start transform 1.000000 0.000000 0.000000 1.000000 0.000000 0.000000
solid 66 66 66 51
end transform
end clip
@ -87,9 +91,9 @@ start clip rectangle 94.000 -328.000 1782.000 1359.000
pop group mode 3
pop group mode 3
push group
start transform 0.682667 0.000000 -0.000000 0.682667 0.000000 0.000000
start transform 1.000000 0.000000 -0.000000 1.000000 0.000000 0.000000
start clip glyph 19
start transform 1.464844 0.000000 0.000000 1.464844 0.000000 0.000000
start transform 1.000000 0.000000 0.000000 1.000000 0.000000 0.000000
start transform 1.000000 0.000000 0.000000 0.969116 0.000000 0.000000
radial gradient
p0 588.000000 198.000000 radius 0.000000
@ -105,9 +109,9 @@ start clip rectangle 94.000 -328.000 1782.000 1359.000
end transform
pop group mode 3
push group
start transform 0.682667 0.000000 -0.000000 0.682667 0.000000 0.000000
start transform 1.000000 0.000000 -0.000000 1.000000 0.000000 0.000000
start clip glyph 20
start transform 1.464844 0.000000 0.000000 1.464844 0.000000 0.000000
start transform 1.000000 0.000000 0.000000 1.000000 0.000000 0.000000
solid 145 103 77 255
end transform
end clip

View File

@ -1,13 +1,13 @@
# random seed: R02S00c64e6e10a3a003ff4f1246ce9667c2
# random seed: R02S9246b617479596d9b98f2275470b9f47
# Start of hb tests
# Start of paint tests
# Start of ot tests
start clip rectangle 244.000 -219.000 1144.000 906.000
start transform 0.976562 0.000000 0.195312 0.976562 0.000000 0.000000
start clip rectangle 250.000 -224.000 1172.000 928.000
start transform 1.000000 0.000000 0.200000 1.000000 0.000000 0.000000
push group
start transform 1.024000 0.000000 -0.204800 1.024000 0.000000 0.000000
start transform 1.000000 0.000000 -0.200000 1.000000 0.000000 0.000000
start clip glyph 13
start transform 0.976562 0.000000 0.195312 0.976562 0.000000 0.000000
start transform 1.000000 0.000000 0.200000 1.000000 0.000000 0.000000
start transform 1.000000 0.000000 0.000000 0.976807 0.000000 0.000000
radial gradient
p0 280.000000 440.000000 radius 0.000000
@ -23,9 +23,9 @@ start clip rectangle 244.000 -219.000 1144.000 906.000
end transform
pop group mode 3
push group
start transform 1.024000 0.000000 -0.204800 1.024000 0.000000 0.000000
start transform 1.000000 0.000000 -0.200000 1.000000 0.000000 0.000000
start clip glyph 14
start transform 0.976562 0.000000 0.195312 0.976562 0.000000 0.000000
start transform 1.000000 0.000000 0.200000 1.000000 0.000000 0.000000
linear gradient
p0 231.000000 -27.000000
p1 1019.000000 -27.000000
@ -38,27 +38,27 @@ start clip rectangle 244.000 -219.000 1144.000 906.000
end transform
pop group mode 3
push group
start transform 1.024000 0.000000 -0.204800 1.024000 0.000000 0.000000
start transform 1.000000 0.000000 -0.200000 1.000000 0.000000 0.000000
start clip glyph 15
start transform 0.976562 0.000000 0.195312 0.976562 0.000000 0.000000
start transform 1.000000 0.000000 0.200000 1.000000 0.000000 0.000000
solid 145 103 77 255
end transform
end clip
end transform
pop group mode 3
push group
start transform 1.024000 0.000000 -0.204800 1.024000 0.000000 0.000000
start transform 1.000000 0.000000 -0.200000 1.000000 0.000000 0.000000
start clip glyph 16
start transform 0.976562 0.000000 0.195312 0.976562 0.000000 0.000000
start transform 1.000000 0.000000 0.200000 1.000000 0.000000 0.000000
solid 30 136 229 255
end transform
end clip
end transform
pop group mode 3
push group
start transform 1.024000 0.000000 -0.204800 1.024000 0.000000 0.000000
start transform 1.000000 0.000000 -0.200000 1.000000 0.000000 0.000000
start clip glyph 21
start transform 0.976562 0.000000 0.195312 0.976562 0.000000 0.000000
start transform 1.000000 0.000000 0.200000 1.000000 0.000000 0.000000
solid 145 103 77 255
end transform
end clip
@ -66,9 +66,9 @@ start clip rectangle 244.000 -219.000 1144.000 906.000
pop group mode 3
push group
push group
start transform 1.024000 0.000000 -0.204800 1.024000 0.000000 0.000000
start transform 1.000000 0.000000 -0.200000 1.000000 0.000000 0.000000
start clip glyph 16
start transform 0.976562 0.000000 0.195312 0.976562 0.000000 0.000000
start transform 1.000000 0.000000 0.200000 1.000000 0.000000 0.000000
linear gradient
p0 669.000000 776.000000
p1 180.000000 -106.000000
@ -81,9 +81,9 @@ start clip rectangle 244.000 -219.000 1144.000 906.000
end transform
pop group mode 3
push group
start transform 1.024000 0.000000 -0.204800 1.024000 0.000000 0.000000
start transform 1.000000 0.000000 -0.200000 1.000000 0.000000 0.000000
start clip glyph 18
start transform 0.976562 0.000000 0.195312 0.976562 0.000000 0.000000
start transform 1.000000 0.000000 0.200000 1.000000 0.000000 0.000000
solid 66 66 66 51
end transform
end clip
@ -91,9 +91,9 @@ start clip rectangle 244.000 -219.000 1144.000 906.000
pop group mode 3
pop group mode 3
push group
start transform 1.024000 0.000000 -0.204800 1.024000 0.000000 0.000000
start transform 1.000000 0.000000 -0.200000 1.000000 0.000000 0.000000
start clip glyph 19
start transform 0.976562 0.000000 0.195312 0.976562 0.000000 0.000000
start transform 1.000000 0.000000 0.200000 1.000000 0.000000 0.000000
start transform 1.000000 0.000000 0.000000 0.969116 0.000000 0.000000
radial gradient
p0 588.000000 198.000000 radius 0.000000
@ -109,9 +109,9 @@ start clip rectangle 244.000 -219.000 1144.000 906.000
end transform
pop group mode 3
push group
start transform 1.024000 0.000000 -0.204800 1.024000 0.000000 0.000000
start transform 1.000000 0.000000 -0.200000 1.000000 0.000000 0.000000
start clip glyph 20
start transform 0.976562 0.000000 0.195312 0.976562 0.000000 0.000000
start transform 1.000000 0.000000 0.200000 1.000000 0.000000 0.000000
solid 145 103 77 255
end transform
end clip

View File

@ -1,4 +1,4 @@
# random seed: R02Sa513a9271d8ffd2ce561b677283f9595
# random seed: R02S7937c19e60fc4b20bb698fb4289d70b2
# Start of hb tests
# Start of paint tests
# Start of ot tests

View File

@ -1,4 +1,4 @@
# random seed: R02Sa129b9c407214a2bff86106f0b33e1d8
# random seed: R02Se65314e4af37a518c1ca84628e2b5345
# Start of hb tests
# Start of paint tests
# Start of ot tests

View File

@ -1,4 +1,4 @@
# random seed: R02S79bd9e5764de1b92aa1b4965e5708ca3
# random seed: R02S33d21844bda1270e5a9c27fc9de11893
# Start of hb tests
# Start of paint tests
# Start of ot tests

View File

@ -1,4 +1,4 @@
# random seed: R02S0a60525528c8b387eb1c95a4aab3b4f1
# random seed: R02S6a47a2a3dcd4dd467bc06d257976e1a9
# Start of hb tests
# Start of paint tests
# Start of ot tests

View File

@ -1,4 +1,4 @@
# random seed: R02Sb0ed2f27ac806cf248cb0794c6ce89e1
# random seed: R02S854533ba425571f0b03ae88b9901992e
# Start of hb tests
# Start of paint tests
# Start of ot tests

View File

@ -1,4 +1,4 @@
# random seed: R02S2160282695aeedf8b3d6a2bd4ea5d8db
# random seed: R02S7f3095d724de91c5503e9c1f76326f6b
# Start of hb tests
# Start of paint tests
# Start of ot tests

View File

@ -1,4 +1,4 @@
# random seed: R02Sbbbff92a3739f39f9860a30de577f48e
# random seed: R02Se15453cc9fdc9e200591def4c128392b
# Start of hb tests
# Start of paint tests
# Start of ot tests

View File

@ -1,4 +1,4 @@
# random seed: R02Sac3dde214152661191b155e38bc51c83
# random seed: R02S8af248f412525e6d315d6ba13ef5a667
# Start of hb tests
# Start of paint tests
# Start of ot tests

View File

@ -1,4 +1,4 @@
# random seed: R02S61d67babbd5a3f6ac722e106937620c5
# random seed: R02S7d9ca0e7e824d9cbc820e8f97ce75bca
# Start of hb tests
# Start of paint tests
# Start of ot tests

View File

@ -1,4 +1,4 @@
# random seed: R02Scbabc5c058faa610b9dd5f58d9cdd911
# random seed: R02Se9d3fcbe22c6d1bdeba50c1bb5925c63
# Start of hb tests
# Start of paint tests
# Start of ot tests

View File

@ -1,4 +1,4 @@
# random seed: R02S6934716f3c5231a8f497bb1e0ce1c95f
# random seed: R02S77cf1b943dc01ba3eaec28a3033a9f04
# Start of hb tests
# Start of paint tests
# Start of ot tests