skia2/resources/skottie/skottie_sample_webfont.json
Florin Malita 7c7cd30550 [skottie] Add custom props rendering GM
Also fix a couple of custom props issues:

  - solid layer colors were not dispatched
  - text values were not sync'ed

TBR=
Change-Id: I827f8c1d8c8bb73b03f05de15e1c7c96753a631e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/264936
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Florin Malita <fmalita@chromium.org>
2020-01-17 13:53:02 +00:00

635 lines
16 KiB
JSON

{
"assets": [],
"ddd": 0,
"fonts": {
"list": [
{
"ascent": 75,
"fClass": "",
"fFamily": "Roboto",
"fName": "Roboto-Regular",
"fPath": "https://fonts.googleapis.com/css?family=Roboto",
"fStyle": "Regular",
"fWeight": "",
"origin": 1
}
]
},
"fr": 25,
"h": 600,
"ip": 0,
"layers": [
{
"ao": 0,
"bm": 0,
"ddd": 0,
"ind": 1,
"ip": 0,
"ks": {
"a": {
"a": 0,
"ix": 1,
"k": [
15,
50,
0
]
},
"o": {
"a": 0,
"ix": 11,
"k": 100
},
"p": {
"a": 0,
"ix": 2,
"k": [
205,
164,
0
]
},
"r": {
"a": 0,
"ix": 10,
"k": 0
},
"s": {
"a": 0,
"ix": 6,
"k": [
100,
100,
100
]
}
},
"nm": "$Deep Cyan Solid 1",
"op": 261,
"sc": "#00b794",
"sh": 50,
"sr": 1,
"st": 0,
"sw": 30,
"ty": 1
},
{
"ao": 0,
"bm": 0,
"ddd": 0,
"ind": 2,
"ip": 0,
"ks": {
"a": {
"a": 0,
"ix": 1,
"k": [
0,
0,
0
]
},
"o": {
"a": 0,
"ix": 11,
"k": 100
},
"p": {
"a": 0,
"ix": 2,
"k": [
400,
164,
0
]
},
"r": {
"a": 0,
"ix": 10,
"k": 0
},
"s": {
"a": 0,
"ix": 6,
"k": [
100,
100,
100
]
}
},
"nm": "$text_center",
"op": 261,
"sr": 1,
"st": 0,
"t": {
"a": [],
"d": {
"k": [
{
"s": {
"f": "Roboto-Regular",
"fc": [
0.42,
0.15,
0.15
],
"j": 2,
"lh": 60,
"ls": 0,
"s": 50,
"t": "text align center",
"tr": 0
},
"t": 0
}
]
},
"m": {
"a": {
"a": 0,
"ix": 2,
"k": [
0,
0
]
},
"g": 3
},
"p": {}
},
"ty": 5
},
{
"ao": 0,
"bm": 0,
"ddd": 0,
"ind": 3,
"ip": 0,
"ks": {
"a": {
"a": 0,
"ix": 1,
"k": [
15,
50,
0
]
},
"o": {
"a": 0,
"ix": 11,
"k": 100
},
"p": {
"a": 0,
"ix": 2,
"k": [
597,
164,
0
]
},
"r": {
"a": 0,
"ix": 10,
"k": 0
},
"s": {
"a": 0,
"ix": 6,
"k": [
100,
100,
100
]
}
},
"nm": "$Deep Cyan Solid 2",
"op": 261,
"sc": "#00b794",
"sh": 50,
"sr": 1,
"st": 0,
"sw": 30,
"ty": 1
},
{
"ao": 0,
"bm": 0,
"ddd": 0,
"ind": 4,
"ip": 0,
"ks": {
"a": {
"a": 0,
"ix": 1,
"k": [
15,
50,
0
]
},
"o": {
"a": 0,
"ix": 11,
"k": 100
},
"p": {
"a": 0,
"ix": 2,
"k": [
382,
334,
0
]
},
"r": {
"a": 0,
"ix": 10,
"k": 0
},
"s": {
"a": 0,
"ix": 6,
"k": [
100,
100,
100
]
}
},
"nm": "$Deep Cyan Solid 3",
"op": 261,
"sc": "#00b794",
"sh": 50,
"sr": 1,
"st": 0,
"sw": 30,
"ty": 1
},
{
"ao": 0,
"bm": 0,
"ddd": 0,
"ind": 5,
"ip": 0,
"ks": {
"a": {
"a": 0,
"ix": 1,
"k": [
0,
0,
0
]
},
"o": {
"a": 0,
"ix": 11,
"k": 100
},
"p": {
"a": 0,
"ix": 2,
"k": [
400,
334,
0
]
},
"r": {
"a": 0,
"ix": 10,
"k": 0
},
"s": {
"a": 0,
"ix": 6,
"k": [
100,
100,
100
]
}
},
"nm": "$text_left",
"op": 261,
"sr": 1,
"st": 0,
"t": {
"a": [],
"d": {
"k": [
{
"s": {
"f": "Roboto-Regular",
"fc": [
0.42,
0.15,
0.15
],
"j": 0,
"lh": 60,
"ls": 0,
"s": 50,
"t": "text align left",
"tr": 0
},
"t": 0
}
]
},
"m": {
"a": {
"a": 0,
"ix": 2,
"k": [
0,
0
]
},
"g": 3
},
"p": {}
},
"ty": 5
},
{
"ao": 0,
"bm": 0,
"ddd": 0,
"ind": 6,
"ip": 0,
"ks": {
"a": {
"a": 0,
"ix": 1,
"k": [
15,
50,
0
]
},
"o": {
"a": 0,
"ix": 11,
"k": 100
},
"p": {
"a": 0,
"ix": 2,
"k": [
709,
334,
0
]
},
"r": {
"a": 0,
"ix": 10,
"k": 0
},
"s": {
"a": 0,
"ix": 6,
"k": [
100,
100,
100
]
}
},
"nm": "$Deep Cyan Solid 4",
"op": 261,
"sc": "#00b794",
"sh": 50,
"sr": 1,
"st": 0,
"sw": 30,
"ty": 1
},
{
"ao": 0,
"bm": 0,
"ddd": 0,
"ind": 7,
"ip": 0,
"ks": {
"a": {
"a": 0,
"ix": 1,
"k": [
15,
50,
0
]
},
"o": {
"a": 0,
"ix": 11,
"k": 100
},
"p": {
"a": 0,
"ix": 2,
"k": [
65,
494,
0
]
},
"r": {
"a": 0,
"ix": 10,
"k": 0
},
"s": {
"a": 0,
"ix": 6,
"k": [
100,
100,
100
]
}
},
"nm": "$Deep Cyan Solid 5",
"op": 261,
"sc": "#00b794",
"sh": 50,
"sr": 1,
"st": 0,
"sw": 30,
"ty": 1
},
{
"ao": 0,
"bm": 0,
"ddd": 0,
"ind": 8,
"ip": 0,
"ks": {
"a": {
"a": 0,
"ix": 1,
"k": [
0,
0,
0
]
},
"o": {
"a": 0,
"ix": 11,
"k": 100
},
"p": {
"a": 0,
"ix": 2,
"k": [
400,
494,
0
]
},
"r": {
"a": 0,
"ix": 10,
"k": 0
},
"s": {
"a": 0,
"ix": 6,
"k": [
100,
100,
100
]
}
},
"nm": "$text_right",
"op": 261,
"sr": 1,
"st": 0,
"t": {
"a": [],
"d": {
"k": [
{
"s": {
"f": "Roboto-Regular",
"fc": [
0.42,
0.15,
0.15
],
"j": 1,
"lh": 60,
"ls": 0,
"s": 50,
"t": "text align right",
"tr": 0
},
"t": 0
}
]
},
"m": {
"a": {
"a": 0,
"ix": 2,
"k": [
0,
0
]
},
"g": 3
},
"p": {}
},
"ty": 5
},
{
"ao": 0,
"bm": 0,
"ddd": 0,
"ind": 9,
"ip": 0,
"ks": {
"a": {
"a": 0,
"ix": 1,
"k": [
15,
50,
0
]
},
"o": {
"a": 0,
"ix": 11,
"k": 100
},
"p": {
"a": 0,
"ix": 2,
"k": [
420,
494,
0
]
},
"r": {
"a": 0,
"ix": 10,
"k": 0
},
"s": {
"a": 0,
"ix": 6,
"k": [
100,
100,
100
]
}
},
"nm": "$Deep Cyan Solid 6",
"op": 261,
"sc": "#00b794",
"sh": 50,
"sr": 1,
"st": 0,
"sw": 30,
"ty": 1
}
],
"markers": [
{
"cm": "Marker\r\nWith new line\r\nWith special characters &^\u00ed\u00f1",
"dr": 0,
"tm": 8
},
{
"cm": "This is a comp marker!",
"dr": 0,
"tm": 27
},
{
"cm": "marker with duration",
"dr": 25,
"tm": 60
},
{
"cm": "23",
"dr": 0,
"tm": 77
}
],
"nm": "text_skia_demo_font",
"op": 75,
"v": "5.2.1",
"w": 800
}