[mythtv-users] Mythbuntu theme fails to load 'Ubuntu' font

Michael T. Dean mtdean at thirdcontact.com
Thu Jan 2 14:46:27 UTC 2014


On 01/02/2014 06:22 AM, Andrew C. (AFPup) Stadt wrote:
> On 02/01/2014 5:40 AM, Mike Perkins wrote:
>> On 01/01/14 23:09, Andrew C. (AFPup) Stadt wrote:
>>> On 01/01/14 05:00 PM, Peter Carlsson wrote:
>>>> Hello!
>>>>
>>>> I try to use the Mythbunbtu theme on my 0.27 BE/FE on a Debian Wheezy
>>>> but the frontend log file have several entries of this kind:
>>>>
>>>> 2014-01-01 20:20:56.241770 E [15746/15746] CoreContext
>>>> mythfontproperties.cpp:440 (ParseFromXml) - MythFontProperties:
>>>> Failed to load
>>>> 'Ubuntu', got 'Bitstream Vera Sans' instead
>>>>                          Location:
>>>> /home/mythtv/.mythtv/themes/Mythbuntu/base.xml @ 7
>>>>                          Name: 'basesmall'       Type: 'fontdef'
>>>> 2014-01-01 20:20:56.244185 E [15746/15746] CoreContext
>>>> mythfontproperties.cpp:440 (ParseFromXml) - MythFontProperties:
>>>> Failed to load
>>>> 'Ubuntu', got 'Bitstream Vera Sans' instead
>>>>                          Location:
>>>> /home/mythtv/.mythtv/themes/Mythbuntu/base.xml @ 12
>>>>                          Name: 'basesmallbold'   Type: 'fontdef'
>>>> 2014-01-01 20:20:56.245655 E [15746/15746] CoreContext
>>>> mythfontproperties.cpp:440 (ParseFromXml) - MythFontProperties:
>>>> Failed to load
>>>> 'Ubuntu', got 'Bitstream Vera Sans' instead
>>>>                          Location:
>>>> /home/mythtv/.mythtv/themes/Mythbuntu/base.xml @ 16
>>>>                          Name: 'baseextrasmall'  Type: 'fontdef'
>>>>
>>>> I have tried to remove the theme and reload it from the theme chooser,
>>>> but that doesn't solve my problem. Do I have to install manually since
>>>> I am not using the Mythbuntu distro?
>>>>
>>>> The error has been with me even before 0.27, but now I thought I
>>>> should fix the problem.
>>>>
>>>> I will be happy to provide any additional info if needed.
>>>>
>>>> Best regards,
>>>> Peter Carlsson
>>>>
>>> Never found a .deb with these in it yet, but you can download a .zip
>>> from
>>> http://font.ubuntu.com/download/ubuntu-font-family-0.80.zip with the
>>> various
>>> weights.  Just extract to /usr/share/fonts/truetype/ttf-ubuntu and
>>> run 'fc-cache
>>> -fv' to update the font cache.
>>>
>> Wouldn't it have been better for the theme designer to have included
>> the fonts with the theme in the first place? It shouldn't be necessary
>> to go through extra steps just to change to another theme.
>>
> Given the licencing on that set of fonts, I'm not sure why its not 
> included... but then again I don't think myth currently has the 
> capabilities to install fonts on the fly, though I've never really 
> looked into it.

Any font files included within the theme directory are available for use 
by the theme, regardless of those fonts installed on the system.  So, it 
can be done, licensing and "distro architecture" considerations allowing.

Mike


More information about the mythtv-users mailing list