Liisachan
2nd December 2002, 18:15
I'd like to know how I can use <font> tags in SRT muxed in an ogg media file successfully.
<font> is one of the "Supported HTML tags," listed in
http://tobias.everwicked.com/subtit.htm
and DirectVobSub does support "the defined html tags in embedded OGM subtitles" as you can read in http://vobsub.edensrising.com/vobsub.php
(under the list titled "VobSub 2.16")
Indeed <i> tags are supported and will be parsed correctly
(i.e. making the "<i>-element" italic),
while <font> tags are not working fine for me, but just rendered as if they were a part of sub-texts.
(SAMPLE SRT)
1
00:00:01,000 --> 00:00:02,000
test
2
00:00:02,500 --> 00:00:10,000
You can complain because <font size="5">roses</font> have <font size=5>thorns</font>, or you can rejoice because <i>thorns</i> have roses.
(EOD)
In this case, <i>thorns</i> does work, while <font> does not work for me
nor for my friend who s using different language version of windows,
no matter whether or not I quote the value ("5" in this sample).
This picture shows what we see:
http://space34.tripod.co.jp/sample.jpg
http://space34.tripod.co.jp/sample.png
Please observe that <i> tags do work.
what's embarrassing is that you can read "<font>" as a string in subtitle.
The similar happens for <font color="..."> or <font face="...">
This sample OGM is zipped in
http://space34.tripod.co.jp/sample.zip
I ll attach it here too
My friend and I tried this sample file in:
- Windows 2000 Japanese version
- Windows 2000 Finnish version
- System Language = "Western Europe and United States" / "Japanese" / "Finnish"
- Locale = "English (US)" / "Japanese" / "Finland"
<font> tags in SRT don't work correctly for any combination of those so far....
I tried both GraphEdit and OggMux.
Possibly you dont have this problems in Windows English version.
Or probably I did something improper when I use tags in srt,
since I can mux OGMs without tags in SRT(s) without problem...
<font> is one of the "Supported HTML tags," listed in
http://tobias.everwicked.com/subtit.htm
and DirectVobSub does support "the defined html tags in embedded OGM subtitles" as you can read in http://vobsub.edensrising.com/vobsub.php
(under the list titled "VobSub 2.16")
Indeed <i> tags are supported and will be parsed correctly
(i.e. making the "<i>-element" italic),
while <font> tags are not working fine for me, but just rendered as if they were a part of sub-texts.
(SAMPLE SRT)
1
00:00:01,000 --> 00:00:02,000
test
2
00:00:02,500 --> 00:00:10,000
You can complain because <font size="5">roses</font> have <font size=5>thorns</font>, or you can rejoice because <i>thorns</i> have roses.
(EOD)
In this case, <i>thorns</i> does work, while <font> does not work for me
nor for my friend who s using different language version of windows,
no matter whether or not I quote the value ("5" in this sample).
This picture shows what we see:
http://space34.tripod.co.jp/sample.jpg
http://space34.tripod.co.jp/sample.png
Please observe that <i> tags do work.
what's embarrassing is that you can read "<font>" as a string in subtitle.
The similar happens for <font color="..."> or <font face="...">
This sample OGM is zipped in
http://space34.tripod.co.jp/sample.zip
I ll attach it here too
My friend and I tried this sample file in:
- Windows 2000 Japanese version
- Windows 2000 Finnish version
- System Language = "Western Europe and United States" / "Japanese" / "Finnish"
- Locale = "English (US)" / "Japanese" / "Finland"
<font> tags in SRT don't work correctly for any combination of those so far....
I tried both GraphEdit and OggMux.
Possibly you dont have this problems in Windows English version.
Or probably I did something improper when I use tags in srt,
since I can mux OGMs without tags in SRT(s) without problem...