Skip to content

Commit 6250f09

Browse files
committed
test: add default fonts template
1 parent dacb6a6 commit 6250f09

1 file changed

Lines changed: 255 additions & 0 deletions

File tree

src/templates/default-fonts.json

Lines changed: 255 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,255 @@
1+
{
2+
"timeline": {
3+
"background": "#FFFFFF",
4+
"tracks": [
5+
{
6+
"clips": [{
7+
"asset": { "type": "rich-text", "text": "Roboto w100", "font": { "family": "Roboto", "weight": 100, "size": 22, "color": "#000088" } },
8+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": -0.30, "y": -0.44 }
9+
}]
10+
},
11+
{
12+
"clips": [{
13+
"asset": { "type": "rich-text", "text": "Roboto w200", "font": { "family": "Roboto", "weight": 200, "size": 22, "color": "#000088" } },
14+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": -0.30, "y": -0.37 }
15+
}]
16+
},
17+
{
18+
"clips": [{
19+
"asset": { "type": "rich-text", "text": "Roboto w300 (built-in Light)", "font": { "family": "Roboto", "weight": 300, "size": 22, "color": "#000000" } },
20+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": -0.30, "y": -0.30 }
21+
}]
22+
},
23+
{
24+
"clips": [{
25+
"asset": { "type": "rich-text", "text": "Roboto w400 (built-in Regular)", "font": { "family": "Roboto", "weight": 400, "size": 22, "color": "#000000" } },
26+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": -0.30, "y": -0.23 }
27+
}]
28+
},
29+
{
30+
"clips": [{
31+
"asset": { "type": "rich-text", "text": "Roboto w500 (built-in Medium)", "font": { "family": "Roboto", "weight": 500, "size": 22, "color": "#000000" } },
32+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": -0.30, "y": -0.16 }
33+
}]
34+
},
35+
{
36+
"clips": [{
37+
"asset": { "type": "rich-text", "text": "Roboto w600", "font": { "family": "Roboto", "weight": 600, "size": 22, "color": "#000088" } },
38+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": -0.30, "y": -0.09 }
39+
}]
40+
},
41+
{
42+
"clips": [{
43+
"asset": { "type": "rich-text", "text": "Roboto w700 (built-in Bold)", "font": { "family": "Roboto", "weight": 700, "size": 22, "color": "#000000" } },
44+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": -0.30, "y": -0.02 }
45+
}]
46+
},
47+
{
48+
"clips": [{
49+
"asset": { "type": "rich-text", "text": "Roboto w800", "font": { "family": "Roboto", "weight": 800, "size": 22, "color": "#000088" } },
50+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": -0.30, "y": 0.05 }
51+
}]
52+
},
53+
{
54+
"clips": [{
55+
"asset": { "type": "rich-text", "text": "Roboto w900 (#76 fix)", "font": { "family": "Roboto", "weight": 900, "size": 22, "color": "#000088" } },
56+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": -0.30, "y": 0.12 }
57+
}]
58+
},
59+
{
60+
"clips": [{
61+
"asset": { "type": "rich-text", "text": "Roboto w0 (INVALID)", "font": { "family": "Roboto", "weight": 0, "size": 22, "color": "#CC0000" } },
62+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": -0.30, "y": 0.19 }
63+
}]
64+
},
65+
{
66+
"clips": [{
67+
"asset": { "type": "rich-text", "text": "Roboto w450 (INVALID)", "font": { "family": "Roboto", "weight": 450, "size": 22, "color": "#CC0000" } },
68+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": -0.30, "y": 0.26 }
69+
}]
70+
},
71+
{
72+
"clips": [{
73+
"asset": { "type": "rich-text", "text": "Roboto w1200 (INVALID)", "font": { "family": "Roboto", "weight": 1200, "size": 22, "color": "#CC0000" } },
74+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": -0.30, "y": 0.33 }
75+
}]
76+
},
77+
{
78+
"clips": [{
79+
"asset": { "type": "rich-text", "text": "Roboto w-100 (INVALID)", "font": { "family": "Roboto", "weight": -100, "size": 22, "color": "#CC0000" } },
80+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": -0.30, "y": 0.40 }
81+
}]
82+
},
83+
84+
{
85+
"clips": [{
86+
"asset": { "type": "rich-text", "text": "Montserrat w300 (built-in Light)", "font": { "family": "Montserrat", "weight": 300, "size": 22, "color": "#000000" } },
87+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0, "y": -0.44 }
88+
}]
89+
},
90+
{
91+
"clips": [{
92+
"asset": { "type": "rich-text", "text": "Montserrat w500 (built-in Medium)", "font": { "family": "Montserrat", "weight": 500, "size": 22, "color": "#000000" } },
93+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0, "y": -0.37 }
94+
}]
95+
},
96+
{
97+
"clips": [{
98+
"asset": { "type": "rich-text", "text": "Montserrat w600 (built-in SemiBold)", "font": { "family": "Montserrat", "weight": 600, "size": 22, "color": "#000000" } },
99+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0, "y": -0.30 }
100+
}]
101+
},
102+
{
103+
"clips": [{
104+
"asset": { "type": "rich-text", "text": "Montserrat w700 (built-in Bold)", "font": { "family": "Montserrat", "weight": 700, "size": 22, "color": "#000000" } },
105+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0, "y": -0.23 }
106+
}]
107+
},
108+
{
109+
"clips": [{
110+
"asset": { "type": "rich-text", "text": "Montserrat w800 (built-in ExtraBold)", "font": { "family": "Montserrat", "weight": 800, "size": 22, "color": "#000000" } },
111+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0, "y": -0.16 }
112+
}]
113+
},
114+
{
115+
"clips": [{
116+
"asset": { "type": "rich-text", "text": "Montserrat w900 (built-in Black)", "font": { "family": "Montserrat", "weight": 900, "size": 22, "color": "#000000" } },
117+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0, "y": -0.09 }
118+
}]
119+
},
120+
{
121+
"clips": [{
122+
"asset": { "type": "rich-text", "text": "Open Sans w700 (built-in Bold)", "font": { "family": "Open Sans", "weight": 700, "size": 22, "color": "#000000" } },
123+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0, "y": -0.02 }
124+
}]
125+
},
126+
{
127+
"clips": [{
128+
"asset": { "type": "rich-text", "text": "Open Sans w800 (built-in ExtraBold)", "font": { "family": "Open Sans", "weight": 800, "size": 22, "color": "#000000" } },
129+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0, "y": 0.05 }
130+
}]
131+
},
132+
{
133+
"clips": [{
134+
"asset": { "type": "rich-text", "text": "Open Sans w900", "font": { "family": "Open Sans", "weight": 900, "size": 22, "color": "#000088" } },
135+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0, "y": 0.12 }
136+
}]
137+
},
138+
{
139+
"clips": [{
140+
"asset": { "type": "rich-text", "text": "Work Sans w400 (CDN variable)", "font": { "family": "Work Sans", "weight": 400, "size": 22, "color": "#000000" } },
141+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0, "y": 0.19 }
142+
}]
143+
},
144+
{
145+
"clips": [{
146+
"asset": { "type": "rich-text", "text": "Work Sans w700 (CDN variable)", "font": { "family": "Work Sans", "weight": 700, "size": 22, "color": "#000000" } },
147+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0, "y": 0.26 }
148+
}]
149+
},
150+
{
151+
"clips": [{
152+
"asset": { "type": "rich-text", "text": "Work Sans w900 (CDN variable)", "font": { "family": "Work Sans", "weight": 900, "size": 22, "color": "#000000" } },
153+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0, "y": 0.33 }
154+
}]
155+
},
156+
{
157+
"clips": [{
158+
"asset": { "type": "rich-text", "text": "Clear Sans w700 (built-in Bold)", "font": { "family": "Clear Sans", "weight": 700, "size": 22, "color": "#000000" } },
159+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0, "y": 0.40 }
160+
}]
161+
},
162+
163+
{
164+
"clips": [{
165+
"asset": { "type": "rich-text", "text": "\"Montserrat Bold\" no weight", "font": { "family": "Montserrat Bold", "size": 22, "color": "#006600" } },
166+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0.30, "y": -0.44 }
167+
}]
168+
},
169+
{
170+
"clips": [{
171+
"asset": { "type": "rich-text", "text": "\"Montserrat Bold\" + w300", "font": { "family": "Montserrat Bold", "weight": 300, "size": 22, "color": "#006600" } },
172+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0.30, "y": -0.37 }
173+
}]
174+
},
175+
{
176+
"clips": [{
177+
"asset": { "type": "rich-text", "text": "\"Montserrat ExtraBold\" + w900", "font": { "family": "Montserrat ExtraBold", "weight": 900, "size": 22, "color": "#006600" } },
178+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0.30, "y": -0.30 }
179+
}]
180+
},
181+
{
182+
"clips": [{
183+
"asset": { "type": "rich-text", "text": "\"OpenSans\" alias w700", "font": { "family": "OpenSans", "weight": 700, "size": 22, "color": "#006600" } },
184+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0.30, "y": -0.23 }
185+
}]
186+
},
187+
{
188+
"clips": [{
189+
"asset": { "type": "rich-text", "text": "\"WorkSans\" alias w700", "font": { "family": "WorkSans", "weight": 700, "size": 22, "color": "#006600" } },
190+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0.30, "y": -0.16 }
191+
}]
192+
},
193+
{
194+
"clips": [{
195+
"asset": { "type": "rich-text", "text": "Arapey w700 (single file)", "font": { "family": "Arapey", "weight": 700, "size": 22, "color": "#006600" } },
196+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0.30, "y": -0.09 }
197+
}]
198+
},
199+
{
200+
"clips": [{
201+
"asset": { "type": "rich-text", "text": "Permanent Marker w700", "font": { "family": "Permanent Marker", "weight": 700, "size": 22, "color": "#006600" } },
202+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0.30, "y": -0.02 }
203+
}]
204+
},
205+
{
206+
"clips": [{
207+
"asset": { "type": "rich-text", "text": "Didact Gothic w700", "font": { "family": "Didact Gothic", "weight": 700, "size": 22, "color": "#006600" } },
208+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0.30, "y": 0.05 }
209+
}]
210+
},
211+
{
212+
"clips": [{
213+
"asset": { "type": "rich-text", "text": "Roboto w\"bold\" (string)", "font": { "family": "Roboto", "weight": "bold", "size": 22, "color": "#CC0000" } },
214+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0.30, "y": 0.12 }
215+
}]
216+
},
217+
{
218+
"clips": [{
219+
"asset": { "type": "rich-text", "text": "Roboto w\"900\" (string num)", "font": { "family": "Roboto", "weight": "900", "size": 22, "color": "#006600" } },
220+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0.30, "y": 0.19 }
221+
}]
222+
},
223+
{
224+
"clips": [{
225+
"asset": { "type": "rich-text", "text": "Roboto w1000 (INVALID)", "font": { "family": "Roboto", "weight": 1000, "size": 22, "color": "#CC0000" } },
226+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0.30, "y": 0.26 }
227+
}]
228+
},
229+
{
230+
"clips": [{
231+
"asset": { "type": "rich-text", "text": "UnknownFont w400", "font": { "family": "UnknownFont", "weight": 400, "size": 22, "color": "#CC0000" } },
232+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0.30, "y": 0.33 }
233+
}]
234+
},
235+
{
236+
"clips": [{
237+
"asset": { "type": "rich-text", "text": "No weight property", "font": { "family": "Roboto", "size": 22, "color": "#006600" } },
238+
"start": 0, "length": 5, "width": 540, "height": 60, "offset": { "x": 0.30, "y": 0.40 }
239+
}]
240+
}
241+
]
242+
},
243+
"output": {
244+
"size": {
245+
"width": 1920,
246+
"height": 1080
247+
},
248+
"format": "mp4",
249+
"destinations": [
250+
{
251+
"provider": "shotstack"
252+
}
253+
]
254+
}
255+
}

0 commit comments

Comments
 (0)