calculate angle at center of glyph
renumber final lines before inserting them into the subtitles object. fixes broken output line order