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

Mailing List Archive: MythTV: Theming

MythFontProperties, Error: Failed to load

 

 

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


caseybragg at yahoo

Jul 21, 2010, 8:20 AM

Post #1 of 6 (1571 views)
Permalink
MythFontProperties, Error: Failed to load

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'


Casey Bragg : caseybragg [at] yahoo


federico.ferri at yahoo

Jul 21, 2010, 9:29 AM

Post #2 of 6 (1526 views)
Permalink
Re: MythFontProperties, Error: Failed to load [In reply to]

Hi Casey

Which version do you have?
Since mythtv 0.23 you can copy your font directly into the theme directory.

Try to put the fonts files into
/usr/share/mythtv/themes/MythCenter-wide/

Bye
Federico

In data mercoledė 21 luglio 2010 17:20:47, Casey Bragg ha scritto:
>
> 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'
>
>
> Casey Bragg : caseybragg [at] yahoo
>
_______________________________________________
mythtv-theming mailing list
mythtv-theming [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-theming


mtdean at thirdcontact

Jul 21, 2010, 9:29 AM

Post #3 of 6 (1526 views)
Permalink
Re: MythFontProperties, Error: Failed to load [In reply to]

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
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-theming


caseybragg at yahoo

Jul 21, 2010, 12:33 PM

Post #4 of 6 (1524 views)
Permalink
Re: MythFontProperties, Error: Failed to load [In reply to]

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


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

From: Michael T. Dean <mtdean [at] thirdcontact>
Subject: Re: [mythtv-theming] MythFontProperties, Error: Failed to load
To: mythtv-theming [at] mythtv
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
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-theming


caseybragg at yahoo

Jul 22, 2010, 9:00 AM

Post #5 of 6 (1491 views)
Permalink
Re: MythFontProperties, Error: Failed to load [In reply to]

I've also found that if I change the font face in base.xml from "Droid Sans" to just "Droid", the font is located.  I must have something screwy with something in /etc/fonts rules.

For me, changing "Liberation Sans" to just "Liberation" does not allow Liberation to be found.

Yuck.  I'm guessing this is a problem unique to my system.


--- On Wed, 7/21/10, Casey Bragg <caseybragg [at] yahoo> wrote:

From: Casey Bragg <caseybragg [at] yahoo>
Subject: Re: [mythtv-theming] MythFontProperties, Error: Failed to load
To: mythtv-theming [at] mythtv
Date: Wednesday, July 21, 2010, 2:33 PM

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>





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

From: Michael T. Dean <mtdean [at] thirdcontact>
Subject: Re: [mythtv-theming]
MythFontProperties, Error: Failed to load
To: mythtv-theming [at] mythtv
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
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-theming

-----Inline Attachment Follows-----

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


federico.ferri at yahoo

Jul 26, 2010, 2:04 AM

Post #6 of 6 (1480 views)
Permalink
Re: MythFontProperties, Error: Failed to load [In reply to]

If you open the .ttf file with some font viewer application (es. kfontview) you can se the "real name" of the font.
I mean that "Droid" differ from "Droid Sans" or "DroidSans" or "Droid MT" (examples).

Try to copy the file .ttf into the theme directory (/usr/share/mythtv/themes/MythCenter-wide), and make the file read from all,

After that check the real name of the font...It should be equal to the name in the base.xml file, as you has already done for Droid...

bye bye

Federico

In data giovedė 22 luglio 2010 18:00:15, Casey Bragg ha scritto:
>
> For me, changing "Liberation Sans" to just "Liberation" does not allow Liberation to be found.
>
> Yuck. I'm guessing this is a problem unique to my system.
>
>
> --- On Wed, 7/21/10, Casey Bragg <caseybragg [at] yahoo> wrote:
>
> From: Casey Bragg <caseybragg [at] yahoo>
> Subject: Re: [mythtv-theming] MythFontProperties, Error: Failed to load
> To: mythtv-theming [at] mythtv
> Date: Wednesday, July 21, 2010, 2:33 PM
>
> 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>
>
>
>
>
>
> --- On Wed, 7/21/10, Michael T. Dean <mtdean [at] thirdcontact> wrote:
>
> From: Michael T. Dean <mtdean [at] thirdcontact>
> Subject: Re: [mythtv-theming]
> MythFontProperties, Error: Failed to load
> To: mythtv-theming [at] mythtv
> 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
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-theming
>
> -----Inline Attachment Follows-----
>
> _______________________________________________
> mythtv-theming mailing list
> mythtv-theming [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-theming
>

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

MythTV theming 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.