[mythtv-users] large fonts and chopped letters

Rod Emerson rod at emerson.id.au
Mon Mar 13 00:57:14 UTC 2006


I saw the MythWeather temperature display and the
"Watch Recordings" title chopped off at the bottom.

I also saw the truncated ... tomorrow's outlook in MythWeather.


Michael T. Dean wrote:
> On 03/11/2006 09:28 PM, Paul Wilson wrote:
> 
>>Some of the MythTV screen letters and numbers are bing chopped off at 
>>the bottom, I tried reducing font size but seems to have no effect.
>>Also a page on the  MythWeather description is truncated  "..." not sure 
>>if this is related.
>>  
> 
> The font size settings in MythTV can be used by themes or ignored by 
> them.  Most themes use the user-configured font sizes in some places and 
> ignore them in others.  If you want to change them, you'll probably have 
> to edit the theme XML file(s) (typically "ui.xml", but sometimes others, 
> too--"grep -l '<font' *").
> 

For MythWeather I did the following :

--- /usr/share/mythtv/themes/default/weather-ui.xml
+++ /usr/share/mythtv/themes/default/weather-ui.xml.orig
@@ -67,13 +67,13 @@

      <font name="todayfont" face="Arial">
        <color>#ffffff</color>
-      <size>20</size>
+      <size>26</size>
        <bold>yes</bold>
      </font>

      <font name="temp" face="Arial">
        <color>#ffffff</color>
-      <size>40</size>
+      <size>50</size>
        <bold>yes</bold>
      </font>


For "Watch Recordings" I did the following :
(using G.A.N.T obviously)

--- /usr/share/mythtv/themes/G.A.N.T./ui.xml
+++ /usr/share/mythtv/themes/G.A.N.T./ui.xml.orig
@@ -1182,7 +1182,7 @@
      <font name="title" face="Arial">
        <color>#ffffff</color>
        <dropcolor>#000000</dropcolor>
-      <size>24</size>
+      <size>27</size>
        <size:small>14</size:small>
        <shadow>3,3</shadow>
        <bold>yes</bold>


> 
>>I read some somewhere that this might have something to do with DPI 
>>settings  is this right?
>>  
> 
> Definitely possible.  You should have X set to use 100DPI (horizontal 
> and vertical) for best results.  Look in your X log for something like:
> 
> (**) NVIDIA(0): DPI set to (100, 100)
> 
> And, if it's not 100x100, you need to modify your DisplaySize in your X 
> config file.
> 

For what it's worth :

# grep DPI /var/log/Xorg.0.log
(==) VIA(0): DPI set to (75, 75)

# grep DisplaySize /etc/X11/xorg.conf
     DisplaySize 300 225



More information about the mythtv-users mailing list