App-FontUtils
view release on metacpan or search on metacpan
script/otf2ttf view on Meta::CPAN
#!perl
# Note: This script is a CLI for Riap function /App/FontUtils/otf2ttf
# and generated automatically using Perinci::CmdLine::Gen version 0.501
use 5.010001;
use strict;
use warnings;
use Log::ger;
use Perinci::CmdLine::Any;
our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2022-08-30'; # DATE
our $DIST = 'App-FontUtils'; # DIST
our $VERSION = '0.002'; # VERSION
my $cmdline = Perinci::CmdLine::Any->new(
url => "/App/FontUtils/otf2ttf",
program_name => "otf2ttf",
log => 1,
read_config => 0,
read_env => 0,
);
$cmdline->run;
# ABSTRACT: Convert OTF to TTF
# PODNAME: otf2ttf
__END__
=pod
=encoding UTF-8
=head1 NAME
otf2ttf - Convert OTF to TTF
=head1 VERSION
This document describes version 0.002 of otf2ttf (from Perl distribution App-FontUtils), released on 2022-08-30.
=head1 SYNOPSIS
B<otf2ttf> [B<--debug>|B<--log-level>=I<level>|B<--quiet>|B<--trace>|B<--verbose>] [B<--format>=I<name>|B<--json>] [B<--(no)naked-res>] [B<--overwrite>|B<-O>|B<--no-overwrite>|B<--nooverwrite>] [B<--page-result>[=I<program>]|B<--view-result>[=I<progr...
=head1 DESCRIPTION
This program is a shortcut wrapper for L<fontforge>. This command:
% otf2ttf foo.otf
is equivalent to:
% fontforge -lang=ff -c 'Open($1); Generate($2); Close();' foo.otf foo.ttf
=head1 OPTIONS
C<*> marks required options.
=head2 Main options
=over
=item B<--otf-file>=I<s>*
Can also be specified as the 1st command-line argument.
=item B<--overwrite>, B<-O>
=item B<--ttf-file>=I<s>
Can also be specified as the 2nd command-line argument.
=back
=head2 Logging options
=over
=item B<--debug>
Shortcut for --log-level=debug.
=item B<--log-level>=I<s>
Set log level.
By default, these log levels are available (in order of increasing level of
importance, from least important to most): C<trace>, C<debug>, C<info>,
C<warn>/C<warning>, C<error>, C<fatal>. By default, the level is usually set to
C<warn>, which means that log statements with level C<info> and less important
levels will not be shown. To increase verbosity, choose C<info>, C<debug>, or
C<trace>.
For more details on log level and logging, as well as how new logging levels can
be defined or existing ones modified, see L<Log::ger>.
=item B<--quiet>
Shortcut for --log-level=error.
=item B<--trace>
Shortcut for --log-level=trace.
=item B<--verbose>
Shortcut for --log-level=info.
=back
=head2 Output options
( run in 0.489 second using v1.01-cache-2.11-cpan-97f6503c9c8 )