font: rename ms core fonts to more appropriate win2k
[sheet.git] / tools / mkttfinfo
index a452389280037aa882dc0e66aa0b6094278cdb21..2523b8f9f0c5531a5df7746ba4bafdf0987ea0e1 100755 (executable)
@@ -63,12 +63,12 @@ for ($outfile || ()) {
        }gx;
        $meta{os} = $_ for "@ttfext[0 .. $#ttfext-1]" || (
                $meta{copyright} =~ /\bGoogle\b/ ? "Android" :
-               $ttfname eq 'arialuni' ? 'win95' :
+               $ttfname eq 'arialuni' ? 'win2k' :
                ()
        );
        $meta{oscorp} = (
                s/^mac10/OS X 10./ ? 'Apple' :
-               s/^win/Windows / ? 'Microsoft' :
+               s/^win(.+)/'Windows '.($1 eq '2k' ? 2000 : $1)/e ? 'Microsoft' :
                m/^Android/ ? 'Google' :
                undef
        ) for $meta{os} || ();