Font-TTF-Scripts
view release on metacpan or search on metacpan
scripts/ttftable view on Meta::CPAN
# if any filename included (i.e there is an '=') then split only on semicolon or pipe,
# allowing filename to include space and comma.
push @newtag, split(/[;|]+/);
}
elsif (m/^all$/oi)
{
push @newtag, map {s/ //og; $_} sort grep {length($_) == 4} keys %{$f};
}
else
{
# Otherwise split more generously (spaces, comma, colon, semicolon, pipe) and
# also expand magic words.
s/\bgraphite\b/ Silf Feat Gloc Glat Sill Sile /oi;
s/\bvolt\b/ TSIV TSID TSIP TSIS /oi;
s/\bopentype\b/ GDEF GSUB GPOS /oi;
s/\baat\b/ mort morx feat /oi;
push @newtag, grep {$_} split(/[\s,:;|]+/);
}
}
@{$tag} = (@newtag);
}
( run in 0.617 second using v1.01-cache-2.11-cpan-71847e10f99 )