-
Notifications
You must be signed in to change notification settings - Fork 2
/
osd_subtitle.xml
108 lines (103 loc) · 4.38 KB
/
osd_subtitle.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE mythuitheme SYSTEM "http://www.mythtv.org/schema/mythuitheme.dtd">
<mythuitheme>
<window name="osd_subtitle">
<!--
Define a grey background which is used below for 608 and
text subtitles. If a background is not used, it is
recommended to use a 2-pixel outline or shadow in the
fontdef, in order to provide sufficient contrast. Note
that 708 captions providers almost always specify an
explicit black background.
-->
<shape name="grey_background" from="provider">
<type>roundbox</type>
<cornerradius>10</cornerradius>
<fill color="#000000" alpha="128" />
</shape>
<!--
Subtitle type "text" generally comes from external text
files like .srt or .txt files.
-->
<shape name="text" from="grey_background" />
<fontdef name="text" face="Liberation Sans" from="provider">
<color>#FFFFF0</color>
<outlinecolor>#000000</outlinecolor>
<outlinesize>2</outlinesize>
<outlinealpha>255</outlinealpha>
</fontdef>
<!--
CEA-608 closed captions. These also apply to CEA-608 VBI
teletext captions. A monospaced font should be used.
-->
<shape name="608" from="grey_background" />
<fontdef name="608" face="Liberation Sans" from="provider">
<color>#FFFFF0</color>
<outlinecolor>#000000</outlinecolor>
<outlinesize>2</outlinesize>
<outlinealpha>255</outlinealpha>
</fontdef>
<!--
CEA-708 closed captions. The spec defines 8 different
font tags, but in practice (at least in the U.S.), only
tags 0 and 3 are used by broadcasters.
Note: Inherited from the default theme.
-->
<shape name="708_0" from="grey_background" />
<fontdef name="708_0" face="Liberation Sans" from="provider">
<color>#FFFFF0</color>
<outlinecolor>#000000</outlinecolor>
<outlinesize>2</outlinesize>
<outlinealpha>255</outlinealpha>
</fontdef>
<shape name="708_1" from="grey_background" />
<fontdef name="708_1" face="Liberation Sans" from="provider">
<color>#FFFFF0</color>
<outlinecolor>#000000</outlinecolor>
<outlinesize>2</outlinesize>
<outlinealpha>255</outlinealpha>
</fontdef>
<shape name="708_2" from="grey_background" />
<fontdef name="708_2" face="Liberation Sans" from="provider">
<color>#FFFFF0</color>
<outlinecolor>#000000</outlinecolor>
<outlinesize>2</outlinesize>
<outlinealpha>255</outlinealpha>
</fontdef>
<shape name="708_3" from="grey_background" />
<fontdef name="708_3" face="Liberation Sans" from="provider">
<color>#FFFFF0</color>
<outlinecolor>#000000</outlinecolor>
<outlinesize>2</outlinesize>
<outlinealpha>255</outlinealpha>
</fontdef>
<shape name="708_4" from="grey_background" />
<fontdef name="708_4" face="Liberation Sans" from="provider">
<color>#FFFFF0</color>
<outlinecolor>#000000</outlinecolor>
<outlinesize>2</outlinesize>
<outlinealpha>255</outlinealpha>
</fontdef>
<shape name="708_5" from="grey_background" />
<fontdef name="708_5" face="Liberation Sans" from="provider">
<color>#FFFFF0</color>
<outlinecolor>#000000</outlinecolor>
<outlinesize>2</outlinesize>
<outlinealpha>255</outlinealpha>
</fontdef>
<shape name="708_6" from="grey_background" />
<fontdef name="708_6" face="Liberation Sans" from="provider">
<color>#FFFFF0</color>
<outlinecolor>#000000</outlinecolor>
<outlinesize>2</outlinesize>
<outlinealpha>255</outlinealpha>
</fontdef>
<shape name="708_7" from="grey_background" />
<fontdef name="708_7" face="Liberation Sans" from="provider">
<color>#FFFFF0</color>
<outlinecolor>#000000</outlinecolor>
<outlinesize>2</outlinesize>
<outlinealpha>255</outlinealpha>
</fontdef>
</window>
</mythuitheme>