font: ignore multichar entries in overview count
[sheet.git] / tools / mkfontinfo
index 09cc4d24e1839139d5cb43e801143972c8bd0cdb..3be474c26c3f4d72fde4249694383021ed94441b 100755 (executable)
@@ -35,6 +35,7 @@ if ($chartables) {
                                next if /^[.-]/;
                                next if $_ eq '>' or $_ eq '=';
                                s/^\\//;  # escape
+                               length $_ == 1 or next;  # multiple characters lost in query
                                push @{ $charlist{table}->{"$tablegroup/$tablename"} }, $_;
                                push @{ $charlist{table}->{$tablegroup} }, $_;
                        }
@@ -99,7 +100,7 @@ for my $chars (values %{$_}) {
 $charlist{fonts} = \@fontlist;
 
 my %osfonts = (
-       win95   => [qw( arial arialuni lucidau verdana times courier )],  # microsoft
+       win95   => [qw( arial arialuni lucidau verdana timesnew couriernew )],  # microsoft
        mac10   => [qw( helvetica lucida times garamond palatino )],  # apple
        android => [qw( roboto noto )],  # google
        oss     => [qw( dvsans c2k unifont opensans )],