Index: trunk/scripts/geticons.pl
===================================================================
--- trunk/scripts/geticons.pl	(revision 18051)
+++ trunk/scripts/geticons.pl	(revision 18115)
@@ -12,5 +12,6 @@
   "src/org/openstreetmap/josm/*/*/*/*.java",
   "src/org/openstreetmap/josm/*/*/*/*/*.java",
-  "src/org/openstreetmap/josm/*/*/*/*/*/*.java"
+  "src/org/openstreetmap/josm/*/*/*/*/*/*.java",
+  "src/org/openstreetmap/josm/*/*/*/*/*/*/*.java"
 );
 
@@ -41,11 +42,12 @@
       if($l =~ /icon\s*[:=]\s*["']([^"'+]+?)["']/)
       {
-        ++$icons{$1};
+        my $i = $1;
+        ++$icons{$i};
       }
 
       if(($l =~ /(?:icon-image|repeat-image|fill-image)\s*:\s*(\"?(.*?)\"?)\s*;/) && ($1 ne "none"))
       {
-        my $img = $2;
-        ++$icons{$img};
+        my $i = $2;
+        ++$icons{$i};
       }
       if($l =~ /ImageProvider(?:\.get)?\(\"([^\"]*?)\"(?:, (?:ImageProvider\.)?ImageSizes\.[A-Z]+)?\)/)
@@ -149,4 +151,5 @@
       if(open FILE, "<","resources/images/$ifile")
       {
+        my $hadfont = 0;
         undef $/;
         my $f = <FILE>;
@@ -159,4 +162,9 @@
             {
               print STDERR "$ifile: Style starts with minus: $x\n" if $x =~ /^-/;
+              ++$hadfont if($x =~ /^font-/);
+              if($x =~ /^font-family:(.*)$/ && $x !~ /^font-family:'Droid Sans'/)
+              {
+                print STDERR "$ifile: Unwanted font-family: $1\n" 
+              }
             }
           }
@@ -170,4 +178,8 @@
           my $x = $1;
           print STDERR "$ifile: ViewBox has float values: $x\n" if $x =~ /\./;
+        }
+        if($f !~ /<text/ && $hadfont)
+        {
+          print STDERR "$ifile: Font-style without <text>\n";
         }
       }
