View Single Post
  #1 (permalink)  
Old 6th January 2003
Feñiz's Avatar
Feñiz Feñiz is offline
BS.player Regular User
Join Date: Jun 2002
Location: Spain
Posts: 98
Rep Power: 0
Feñiz is on a distinguished road
Default Bug in style format using SRT subtitles at build 493

The style format for SRT is improved at build 493, but only remains a little bug.

When showing a formatted subtitle, the text is not propery centered, because BSPlayer count the tags as characters for size measurement.

For example, this subtitle:

I'm Dr. Horwood,
I'm here to help you.

is showed like that:

I'm Dr. Horwood
I'm here to help you.

The lines are not centered on the middle of the screen (first is too next to left border), because BSPlayer "thinks" the first line is 22 characters long, and the second is also 22. But first line is really only 15 characters long (the rest are format tags), so the align on screen is incorrect.

BST, can you solve this? Thanks again for your work.
Reply With Quote

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20