[mythtv-commits] mythtv/master commit: f7b7f61cb by Jim Stichnoth (stichnot)

MythTV noreply at mythtv.org
Fri Feb 17 15:22:17 UTC 2012


      Author:  Jim Stichnoth <jstichnoth at mythtv.org>
 Change Date:  2012-02-17T07:10:39-08:00
   Push Date:  2012/02/17 07:22:01 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  f7b7f61cb43a2022cb5faed608561bdd5fd64ae3
   Changeset:  https://github.com/MythTV/mythtv/commit/f7b7f61cb

Log:

Subtitles: Improve the vertical layout of CEA-708 captions.

The problem is that we were expecting the bounding box height of
caption text to be equal to the font pixel size, which is generally
untrue and can in fact be very different.  As a result, CEA-708
captions could have too much extra space between the lines.  Now, we
target line spacing based on the desired pixel size, taking care not
to let lines overlap.

Refs #10333

Modified:

   mythtv/libs/libmythtv/subtitlescreen.cpp
   mythtv/libs/libmythtv/subtitlescreen.h



More information about the mythtv-commits mailing list