[mythtv-commits] Ticket #10194: Add formatting support for SRT subtitles
MythTV
noreply at mythtv.org
Sun Feb 26 20:05:58 UTC 2012
#10194: Add formatting support for SRT subtitles
------------------------------------------------+--------------------------
Reporter: Jim Stichnoth <stichnot@…> | Owner: danielk
Type: Patch - Feature | Status: closed
Priority: minor | Milestone: 0.25
Component: MythTV - General | Version: Master
Severity: medium | Head
Keywords: | Resolution: fixed
| Ticket locked: 0
------------------------------------------------+--------------------------
Comment (by Github):
Subtitles: improve the layout.
With the existing PAD_WIDTH value, there was still some clipping going
on, for example an italic "W" at the end of the line with the Droid
Sans Mono font. Simply increasing PAD_WIDTH would have made the extra
spacing between adjacent but differently-formatted text chunks much
more noticeable.
This is improved by increasing PAD_WIDTH but no longer adding padding
between chunks. A consequence is that the background rectangle now
has the possibility of clipping the text to its left, so there is a
final step that moves all text objects to the front (rather than
drawing background and text in separate passes).
Refs #10194.
Branch: master
Changeset: 5d5aef36c3d1037c295ed7b915ee12b3a8773e10
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10194#comment:10>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list