my %oslist = (
win95 => [qw( arial ariuni verdana times )], # microsoft
mac10 => [qw( lucida garamond )], # apple
- android => [qw( droidsans )], # google
+ android => [qw( roboto noto )], # google
oss => [qw( dvsans c2k unifont )],
);
my @ossel = qw( win95 mac10 oss android );
my %oslist = (
win95 => [qw( arial ariuni verdana times courier )], # microsoft
mac10 => [qw( lucida garamond )], # apple
- android => [qw( droidsans )], # google
+ android => [qw( roboto noto )], # google
oss => [qw( dvsans c2k unifont )],
);
my @ossel = qw( win95 mac10 oss android );
if (my $gdpath = '/usr/share/fonts/truetype/droid') {
if (my $src = first { -e } map { glob "$_/DroidSans.ttf" } $gdpath, @ttfpath) {
- system $convbin, $src, "$outdir/droidsans.inc.pl";
+ system $convbin, $src, "$outdir/droid.inc.pl";
}
if (my $src = first { -e } map { glob "$_/DroidSerif.ttf" } $gdpath, @ttfpath) {
system $convbin, $src, "$outdir/droidserif.inc.pl";
}
}
+if (my $grpath = '/usr/share/fonts/truetype/roboto') {
+ if (my $src = first { -e } map { glob "$_/Roboto-Regular.ttf" } $grpath, @ttfpath) {
+ system $convbin, $src, "$outdir/roboto.inc.pl";
+ }
+}
+
+if (my $gnpath = '/usr/share/fonts/truetype/noto') {
+ if (my $src = first { -e } map { glob "$_/NotoSans-Regular.ttf" } $gnpath, @ttfpath) {
+ system $convbin, $src, "$outdir/noto.inc.pl";
+ }
+ if (my $src = first { -e } map { glob "$_/NotoSerif-Regular.ttf" } $gnpath, @ttfpath) {
+ system $convbin, $src, "$outdir/noto.inc.pl";
+ }
+}
+
{
if (my $src = first { -e } map { glob "$_/code2000.ttf" } @ttfpath) {
system $convbin, $src, "$outdir/c2k.inc.pl";