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";