LinHES Forums
http://forum.linhes.org/

Font Size for MythTV Weather Portion
http://forum.linhes.org/viewtopic.php?f=11&t=11082
Page 1 of 1

Author:  rtower32463 [ Sat Aug 05, 2006 12:22 pm ]
Post subject:  Font Size for MythTV Weather Portion

I am a HAM operator and a SKYWARN weather watcher for HAM radio. I use only the weather information portion of KnoppMyth. (saving up for a PC to use KnoppMyth for media)

My problem is this. The font size for the screen displaying the weather information is to large. Some of the words overlap each other. No matter what I do to the settings I can't get the font size smalled. All of the menu screen text gets smaller but not the actual information screen text size.

Any hints or clues as to what I am doing wrong?

Please email me at rlt63@bellsouth.net

Thanks
Russell

Author:  rsay [ Thu Feb 26, 2009 11:32 am ]
Post subject: 

I ran into a similar problem on R5.5. The 18hr forecast was unreadable because the text labels obscured the data. I eventually found the usr/share/mythtv/themes/default/weather-ui.xml file. It appears that all of the font sizes in the weather section are hard coded. For my situation I found the lohifont2 font definition and changed the size to 12.

Original:
<font name="lohifont2" face="Bitstream Vera Sans">
<color>#ffff33</color>
<size>16</size>
<bold>yes</bold>
</font>

New:
<font name="lohifont2" face="Bitstream Vera Sans">
<color>#ffff33</color>
<size>12</size>
<bold>yes</bold>
</font>

Author:  tjc [ Fri Feb 27, 2009 1:00 am ]
Post subject: 

Excellent hint. The only thing I'd add is that I actually found these files at:
/usr/share/mythtv/themes/default/weather-ui.xml
/usr/share/mythtv/themes/default-wide/weather-ui.xml


And for my 640x480 display, an even smaller font size of 10 was needed.

Author:  sparky.watson [ Fri Feb 27, 2009 8:02 pm ]
Post subject: 

I also changed the size from 16 to 12 for the actual temp as my numbers were too big:

Code:
        <font name="tempdata2" face="Bitstream Vera Sans">
            <color>#ffffff</color>
            <size>12</size>
            <bold>yes</bold>
        </font>

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/