test-style-match.json revision a4e54154
1{ 2 "fonts": [ 3 { 4 "family": [ "Foo", "Foo Caption" ], 5 "style": [ "Caption", "Regular" ], 6 "file": "/path/to/Foo-Capt.ttf", 7 "fontversion": 133365 8 }, 9 { 10 "family": "Foo", 11 "style": "Regular", 12 "file": "/path/to/Foo-Regular.ttf", 13 "fontversion": 133365 14 } 15 ], 16 "tests": [ 17 { 18 "method": "match", 19 "query": { 20 "family": "Foo", 21 "style": "Regular" 22 }, 23 "result": { 24 "family": "Foo", 25 "style": "Regular", 26 "file": "/path/to/Foo-Regular.ttf", 27 "fontversion": 133365 28 } 29 } 30 ] 31} 32