summaryrefslogtreecommitdiff
path: root/test/font-variations.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-09-20 22:29:30 -0400
committerBehdad Esfahbod <behdad@behdad.org>2017-12-19 15:18:57 -0500
commit46034b0547ea9b69392bde5b334f1891bd51c98a (patch)
treee8e4bcba514a2deb4744034b27868c94dd7eb300 /test/font-variations.c
parentdb946d1788b8be1aef39102efe93826886b6addf (diff)
Make the font-variations test pass
Not sure what I was thinking - the test is checking the width axis, but the font we're using has only weight and contrast as axes...
Diffstat (limited to 'test/font-variations.c')
-rw-r--r--test/font-variations.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/font-variations.c b/test/font-variations.c
index 36724f05b..68071d077 100644
--- a/test/font-variations.c
+++ b/test/font-variations.c
@@ -167,10 +167,10 @@ preamble (cairo_test_context_t *ctx)
int expected_default;
float expected_value;
} tests[] = {
- { "wdth=200,wght=300", "wdth", 0, 200.0 }, // valid
- { "wdth=200.5,wght=300", "wdth", 0, 200.5 }, // valid, using decimal dot
- { "wdth 200 , wght=300", "wdth", 0, 200.0 }, // valid, without =
- { "wdth = 200", "wdth", 0, 200.0 }, // valid, whitespace and =
+ { "wdth=200,wght=300", "wght", 0, 300.0 }, // valid
+ { "wdth=200.5,wght=300.5", "wght", 0, 300.5 }, // valid, using decimal dot
+ { "wdth 200 , wght 300", "wght", 0, 300.0 }, // valid, without =
+ { "wght = 200", "wght", 0, 200.0 }, // valid, whitespace and =
{ "CNTR=20", "wght", 1, 0.0 }, // valid, not setting wght
{ "weight=100", "wght", 1, 0.0 }, // not a valid tag
{ NULL, 0 }