[mythtv-users] Perl script to increase fonts that are too small

Alien Anchor anchoralien at yahoo.com
Thu Sep 6 15:36:55 UTC 2007

I have been trying to find a way to increase font sizes because they look teeny tiny on my 52" TV. It's pretty obnoxious that the font sizes in the setup->appearances menu only effect the setup menus. I wish the myth developers would make some kind of option to scale the fonts in the themes.

So, I created a script to increase the font sizes in a theme. (It's attached.) I recursively copied the theme directory of my choice, and then ran this script and copied the output back over the appropriate file. It defaults to doubling the font size, but if you just change the $scale variable, you can scale the fonts as much as you want. You can even use decimal numbers.

Here's how I used it:

root at mythtv# cd /usr/share/mythtv/themes/
root at mythtv# cp -a MythCenter-wide MythCenter-wide-large
root at mythtv# cd MythCenter-wide-large
root at mythtv# mv ui.xml ui.xml.orig
root at mythtv# perl ~/scale-theme-fonts.pl ui.xml.orig > ui.xml

Then go back into Myth (you may have to restart the frontend) and select your new theme (based on the directory name). It worked perfectly for me. Hopefully you'll have as much luck.

Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070906/24e997f7/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scale-theme-fonts.pl
Type: application/octet-stream
Size: 369 bytes
Desc: 2678679290-scale-theme-fonts.pl
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20070906/24e997f7/attachment.obj 

More information about the mythtv-users mailing list