mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-30 06:10:13 +01:00
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...
This commit is contained in:
parent
db946d1788
commit
46034b0547
1 changed files with 4 additions and 4 deletions
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue