PDA

View Full Version : SUB control code for "normal" font style?


marsoupilami
15th February 2013, 13:15
Hi there!

I'm currently working on a text subtile tool (srt/sub).

Now a faced the problem to convert at least the "text style" code tags from SUB format to SRT and vice versa:
{y:i} means italic
{y:b} bold
{y:s} stroked (who needs this?)
...but how to switch back to "normal style" at e.g. a following line?

SRT format offers the "end tag":
<i> text </i>

Any ideas welcome....
Thanks!