[mythtv-commits] mythtv commit: r26423 by markk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Mon Sep 20 12:31:46 UTC 2010


      Author: markk
        Date: 2010-09-20 12:31:46 +0000 (Mon, 20 Sep 2010)
New Revision: 26423
   Changeset: http://svn.mythtv.org/trac/changeset/26423

Log:

Add some additional padding around text based subtitles.

Even when working as expected, the current code has little or no padding
around rendered text - which is noticeable at the sides when using a
black background and top and bottom with certain fonts. For some reason
fonts are also sometimes cropped when the text extends beyond the
calculated width.

So add a small amount of padding around each line of rendered text for
external text, embedded text, 608 and 708 based subtitles. Teletext
subtitles are unchanged as the text does not appear to be cropped and
the positioning of text is less flexible.

Closes #8954


Modified:

   trunk/mythtv/libs/libmythtv/subtitlescreen.cpp




More information about the mythtv-commits mailing list