[mythtv-firehose] mythtv/master commit: 5d5aef36c by Jim Stichnoth (stichnot)

MythTV noreply at mythtv.org
Sun Feb 26 20:06:06 UTC 2012

      Author:  Jim Stichnoth <jstichnoth at mythtv.org>
 Change Date:  2012-02-26T12:04:55-08:00
   Push Date:  2012/02/26 12:05:50 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  5d5aef36c3d1037c295ed7b915ee12b3a8773e10
   Changeset:  https://github.com/MythTV/mythtv/commit/5d5aef36c


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.



More information about the mythtv-firehose mailing list