diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-07-03 21:47:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-07-03 21:47:45 +0100 |
| commit | d281b7864408694d87e8bb50a28fb41724a80480 (patch) | |
| tree | f8435794b7237a53ec960d58a62cf517aba61d27 /src | |
| parent | 96ea6d27b886ddc3ddedc27edd6a156cf8304cf6 (diff) | |
Support underline in SSA/ASS.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ssa_reader.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ssa_reader.cc b/src/ssa_reader.cc index 630eb29..58d2e7c 100644 --- a/src/ssa_reader.cc +++ b/src/ssa_reader.cc @@ -248,6 +248,10 @@ SSAReader::parse_line (RawSubtitle base, string line) current.bold = true; } else if (style == "\\b0") { current.bold = false; + } else if (style == "\\u1") { + current.underline = true; + } else if (style == "\\u0") { + current.underline = false; } else if (style == "\\an1" || style == "\\an2" || style == "\\an3") { current.vertical_position.reference = sub::BOTTOM_OF_SCREEN; } else if (style == "\\an4" || style == "\\an5" || style == "\\an6") { |
