Move calculation of text parameters (number of lines, height, etc.) from wrap_lines_smart() into a separate function. Call it for every event, even those that do not require line wrapping.
Move calculation of text parameters (number of lines, height, etc.) from
wrap_lines_smart() into a separate function. Call it for every event, even
those that do not require line wrapping.

This fixes randomly wrong positioning of 'Banner' events.


git-svn-id: 947b4ff483bb4cc5004120385d99e48ac0944466@19938 b3059339-0415-0410-9bf9-f77b7e298cf2

Distrotech/libass,Akemi/libass,blinkseb/libass,asimonov-im/libass,libass/libass,Distrotech/libass,tgoyne/libass,pigoz/libass-ct,mwgoldsmith/libass,libass/libass,MrSmile/libass,sanyaade-g2g-repos/libass,sanyaade-g2g-repos/libass,mwgoldsmith/libass,stps/libass,richardpl/libass,tgoyne/libass,vault/libass,blinkseb/libass,xbmc/libass,torque/libass,vault/libass,sanyaade-g2g-repos/libass,MrSmile/libass,torque/libass,xbmc/libass,Distrotech/libass,astiob/libass,stps/libass,pigoz/libass-ct,mwgoldsmith/libass,stps/libass,rhlee/libass,Akemi/libass,asimonov-im/libass,Akemi/libass,pigoz/libass-ct,blinkseb/libass,rhlee/libass,richardpl/libass,grigorig/libass,ShiftMediaProject/libass,torque/libass,ShiftMediaProject/libass,rhlee/libass,astiob/libass,tgoyne/libass,richardpl/libass,grigorig/libass