[mythtv-commits] mythtv commit: r14025 - in trunk/mythplugins/mytharchive by paulh

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun Jul 22 18:50:27 UTC 2007

      Author: paulh
        Date: 2007-07-22 18:50:26 +0000 (Sun, 22 Jul 2007)
New Revision: 14025
   Changeset: http://cvs.mythtv.org/trac/changeset/14025




Work around a problem introduced with the new FreeSans.ttf added to svn 
recently that was causing the DVD menus created in MythArchive to have 
missing text elements.

* Changes the way the script calculates the width and height of text so that
  it will work consistently with all fonts regardless of how a font reports 
  its metrics.

* Change the way fonts are defined in theme files.
    - Font definitions now have a name and can be referred to by name in 
      text elements.
    - The color can be defined in the font definition.
    - Add new 'shadow' and 'outline' font drawing effects.
    - Add new 'shadowsize' and 'shadowcolor' font attributes.

  See the changes in themes/MythCenter/theme.xml for an example of how the
  new font definitions should be used.

  The font definition changes are backwards compatible so old themes should
  still work OK.

* There's a number of changes that improve the image quality of the jpegs that
  that are used to create the final DVD menus.

TODO: - Convert all the existing themes to use the new font definitions.
      - Check the positioning of all text elements is still OK since these
        changes alter the positioning slightly.
      - Change some of the themes to use the new text styles where appropriate.

Fixes #3749.

More information about the mythtv-commits mailing list