aeidon.tags.AdvSubStationAlpha

Source: aeidon/tags/ass.py

Anchestors: aeidon.tags.ssa.SubStationAlpha, aeidon.markup.Markup, aeidon.singleton.Singleton, builtins.object

class aeidon.tags.AdvSubStationAlpha

Text markup for the Advanced Sub Station Alpha format.

In addition to the markup in Sub Station Alpha, Advanced Sub Station Alpha contains a whole lof of markup tags of which the following are of interest to us. The further complicated color tags that define numbered (?) colors and alpha channels are ignored. The reset tag is allowed a style definiton, e.g. {\rDefault} to revert to style “Default”.

  • {\bWEIGHT}...{\b0}
  • {\u1}........{\u0}
  • ........{\r[STYLE]}

Methods

AdvSubStationAlpha.underline(text, bounds=None)

Return underlined text.