Here is a simple perl script that will increase all of the fonts by a X units.
Code:
#!/usr/bin/perl
#parse the command line
if($#ARGV > -1){
$factor = $ARGV[0];
} else {
$factor = 2;
}
#open the file
open FILE, "Font.xml";
while(<FILE>){
if($_ =~ /(.*?)<size>(\d+)<\/size>/i){
print $1,"<size>",($2+$factor),"</size>\n";
} else {
print $_;
}
}
save that in your skin/Boxee Skin NG/720p folder.
It will output the new file to stdout.
Here is how I used it (I called the file growfonts.pl):
Code:
skin/Boxee Skin NG/720p# perl growfonts.pl > Font2.xml
skin/Boxee Skin NG/720p# mv Font.xml Font.xml.bak
skin/Boxee Skin NG/720p# mv Font2.xml Font.xml
Of course, you can just output it directly to Font.xml if you don't care about overwriting it (or have already backed it up)
If you want to increase the fonts by more something different than 2, just specify it on the command line:
Code:
skin/Boxee Skin NG/720p# perl growfonts.pl 4 > Font2.xml
If you specify a negative number, it will decrease the font size.
While I have used this on my machine for both versions 0.9.9.5324 and 0.9.10.5534 without any issue, I take no responsibilty if you screw up your Boxee installation, server, house, job, marriage, or life in general by using this script.
Bookmarks