MustafaMoneer / subtitleedit

Automatically exported from code.google.com/p/subtitleedit
0 stars 0 forks source link

SoftNI export losing format #180

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Italics when exporting to Softni were not formatted correctly. Also, the 
top-position tag {\an8} was lost.
I've been working on this and now everything works, both for importing and 
exporting.
The format is as follows:

-----------------------------------------
[Subtitle with 2 lines
[and both are in italics.

[- Only the first line is in italics.
- Not the second one.

- Only the second line is in italics.
[- This is the second line.

Only [one] word is in italics.

[Only ]one[ word is in italics
[when the rest of the subtitle is too.

{This subtitle appears
at the top of the screen.
-----------------------------------------

The file I've modified is this one: 
svn/trunk/src/Logic/SubtitleFormats/SoftNiSub.cs
Every line of code is explained in the file.

I'm also attaching a short Subrip file in case you'd like to do some further 
testing.

==> Additionally, please correct this: in SubtitleFormat.cs, the line "new 
SoftNiSub()," should appear before "new SonyDVDArchitect(),", so that SoftNI 
appears before Sony in the format list.

Thanks for everything. Kind regards...

Original issue reported on code.google.com by adrianbe...@gmail.com on 20 Nov 2013 at 1:27

Attachments:

GoogleCodeExporter commented 8 years ago
thx :)
checked in via commit r2213         

Original comment by nikse.dk@gmail.com on 20 Nov 2013 at 3:59

GoogleCodeExporter commented 8 years ago

Original comment by nikse.dk@gmail.com on 20 Nov 2013 at 3:59