Imported Upstream version 2.13.1
[platform/upstream/fontconfig.git] / test / test-90-synthetic.json
1 {
2     "fonts": [
3         {
4             "family": "Foo",
5             "style": "Medium",
6             "weight": 100
7         },
8         {
9             "family": "Bar",
10             "style": "Regular",
11             "weight": 80
12         },
13         {
14             "family": "Baz",
15             "style": "Bold",
16             "weight": 200
17         }
18     ],
19     "tests": [
20         {
21             "method": "match",
22             "query": {
23                 "family": "Foo",
24                 "weight": 200
25             },
26             "result": {
27                 "family": "Foo",
28                 "weight": 200,
29                 "embolden": true
30             }
31         },
32         {
33             "method": "match",
34             "query": {
35                 "family": "Bar",
36                 "weight": 102
37             },
38             "result": {
39                 "family": "Bar",
40                 "weight": 80
41             }
42         },
43         {
44             "method": "match",
45             "query": {
46                 "family": "Bar",
47                 "weight": 200
48             },
49             "result": {
50                 "family": "Bar",
51                 "weight": 200,
52                 "embolden": true
53             }
54         },
55         {
56             "method": "match",
57             "query": {
58                 "family": "Baz",
59                 "weight": 200
60             },
61             "result": {
62                 "family": "Baz",
63                 "weight": 200,
64                 "embolden": null
65             }
66         }
67     ]
68 }