Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

Re: [mythtv-commits] mythtv commit: r23487 by danielk

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


simon at koala

Feb 7, 2010, 9:45 AM

Post #1 of 2 (475 views)
Permalink
Re: [mythtv-commits] mythtv commit: r23487 by danielk

mythtv [at] cvs wrote:
> Author: danielk
> Date: 2010-02-06 03:53:29 +0000 (Sat, 06 Feb 2010)
> New Revision: 23487
> Changeset: http://svn.mythtv.org/trac/changeset/23487
>
> Added:
>
> trunk/mythtv/themes/MythCenter-wide/appear-ui.xml
> trunk/mythtv/themes/MythCenter-wide/config-ui.xml
> trunk/mythtv/themes/MythCenter-wide/controls-ui.xml
> trunk/mythtv/themes/MythCenter-wide/schedule-ui.xml
> trunk/mythtv/themes/MythCenter-wide/settings-ui.xml
> trunk/mythtv/themes/MythCenter-wide/status-ui.xml
> trunk/mythtv/themes/MythCenter-wide/welcome-ui.xml
>
> Modified:
>
> trunk/mythtv/themes/MythCenter-wide/base.xml
> trunk/mythtv/themes/MythCenter-wide/menu-ui.xml
> trunk/mythtv/themes/MythCenter-wide/recordings-ui.xml
>
> Log:
>
> Start of really porting MythCenter-wide to MythUI.
>
> There are still a number of screens needing attention, and the color selection for selected text needs to be improved. What this does is reduce the number of fonts used from four to two, name fonts according to the state they represent (instead of the color used for that state in default-wide/base.xml), along with layout tweaks for a few frequently used screens.
>
> The fonts used are 'Liberation Sans' for large text and 'Droid Sans' for small text. Droid Sans is closer in resemblance to the original font used in this theme and is very readable at small font sizes, but it looks bad at large font sizes. I believe the problem at large font sizes is with the kerning, but I haven't really investigated it. Both are designed by the same guy and both are freely redistributable fonts available in easy to install distro packages.
>
>

some themes include the required fonts, while others (like this one) don't
should the fonts be included with the theme or not?
--
simon
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


danielk at cuymedia

Feb 7, 2010, 10:52 AM

Post #2 of 2 (450 views)
Permalink
Re: [mythtv-commits] mythtv commit: r23487 by danielk [In reply to]

On Sun, 2010-02-07 at 17:45 +0000, Simon Kenyon wrote:
> mythtv [at] cvs wrote:
> > Author: danielk
> > Changeset: http://svn.mythtv.org/trac/changeset/23487
> > Start of really porting MythCenter-wide to MythUI.
> some themes include the required fonts, while others (like this one) don't
> should the fonts be included with the theme or not?

OSD themes can include fonts, as we load them directly. But MythUI
currently relies on all fonts being installed as system fonts as it
uses Qt's QFont class to load them and it does not call
QFontDatabase::addApplicationFont() to add any font files to the
list of available fonts. This means that font files included with
the theme are only for the convenience of the user; so that they can
import the fonts using the system specific utilities but do not need
to download them from a 3rd party website. The fonts used in
MythCenter-wide are both widely available fonts for which system
packages already exist. This means the person building the the deb
or RPM package simply adds a line to the dependency list and these
fonts will be automatically installed for the end user. Or if an end
user builds from source they simply need to run something along the
lines of 'apt-get install ttf-liberation ttf-droid'

The plan is to make sure that all the themes that ship by default with
the mythfrontend binary use freely redistributable fonts, since that
is the only way to ensure that the package can be installed from a DVD
or other off-line medium. In the past themes have relied on fonts such
as Trebuchet MS and Arial, but these can not be shipped on a distro
CD/DVD due to no-redistribution licensing clauses. This meant that
packagers could not make the mythfrontend packages depend on these
font packages, which in turn meant most MythTV users were not seeing
the themes as they were intended to look.

-- Daniel

_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.