[mythtv-theming] MythFontProperties, Error: Failed to load

Casey Bragg caseybragg at yahoo.com
Wed Jul 21 19:33:42 UTC 2010


Thanks for the information.  Yes, I forgot to say that I am using 0.23 from SVN which is at revision 25393.  This is on debian 2.6.26-2-686.

I tried copying all my Droid*.ttf into /usr/share/mythtv/themes/MythCenter-wide.  I didn't have any luck.  I changed the file owner and group to the mythtv executing user.

fc-list | grep -i droid
Droid Sans:style=Regular
Droid Serif:style=Bold
Droid Sans Fallback:style=Regular
Droid Sans:style=Bold
Droid Sans Mono:style=Regular
Droid Serif:style=Italic
Droid Serif:style=Bold Italic
Droid Serif:style=Regular

bragghost:/usr/share/mythtv/themes/MythCenter-wide# fc-match 'Droid Sans'
DroidSans.ttf: "Droid Sans" "Regular"

I don't have a ~/.fontconfig directory or file.  I rebooted after font installation and mythtv recompile and reinstall.

My first font path in /etc/fonts/fonts.conf is /usr/share/fonts.  /usr/share/fonts/truetype contains DroidSans.ttf.

I installed ttf-droid with the dpkg -i installer.

I see this rule in /etc/fonts/fonts.conf that might be a culprit.  What do you think?

<!--
  Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
-->
        <match target="pattern">
                <test qual="any" name="family">
                        <string>sans serif</string>
                </test>
                <edit name="family" mode="assign">
                        <string>sans-serif</string>
                </edit>
        </match>


Casey Bragg : caseybragg at yahoo.com


--- On Wed, 7/21/10, Michael T. Dean <mtdean at thirdcontact.com> wrote:

From: Michael T. Dean <mtdean at thirdcontact.com>
Subject: Re: [mythtv-theming] MythFontProperties, Error: Failed to load
To: mythtv-theming at mythtv.org
Date: Wednesday, July 21, 2010, 11:29 AM

  On 07/21/2010 11:20 AM, Casey Bragg wrote:
> I'm getting the following error from mythfrontend related to fonts.  I have installed ttf-droid, msttcorefonts, ttf-liberation, etc.  If I go to gnome:system->preferences->appearance->fonts, I can select Droid Sans or Liberation Sans as a desktop font.  Any ideas?  Is this something to do with permissions or file locations or possibly even screen resolution?
>
> Thanks for your time.
>
>
> 2010-07-20 23:07:28.728 MythFontProperties, Error: Failed to load 'Droid Sans', got 'Andale Mono' instead
>                          Location: /usr/share/mythtv/themes/MythCenter-wide/base.xml @ 5
>                          Name: 'basesmall'       Type: 'font'
>
> Also:
>
> 2010-07-20 23:07:29.725 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'Andale Mono' instead
>                          Location: /usr/share/mythtv/themes/MythCenter-wide/base.xml @ 25
>                          Name: 'basemedium'      Type: 'font'

If it is, in fact, installed properly, it's most likely (broken) font 
replacement rules (which are easy to get when you have a lot of fonts 
installed).  What do you get with:

fc-list | grep -i droid

and

fc-match 'Droid Sans'

are there any rules that would affect its loading under /etc/fonts/ or 
~/.fontconfig/ ?  Have you restarted X and any font services since you 
installed the fonts?

Mike
_______________________________________________
mythtv-theming mailing list
mythtv-theming at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-theming
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-theming/attachments/20100721/f7c625c7/attachment.htm>


More information about the mythtv-theming mailing list