Bug#931226: text2pdf usage not its usage
積丹尼 Dan Jacobson
jidanni at jidanni.org
Fri Jun 28 14:50:53 BST 2019
X-Debbugs-Cc: mcollins at fcnetwork.com
Package: libpdf-api2-perl
Version: 2.033-1
File: /usr/share/doc/libpdf-api2-perl/examples/text2pdf.pl.gz
text2pdf starts asking for an --in=<filename> in contrast to its Usage.
The usage is wrong. Nobody knows how to use the program.
$ echo abc > file.txt
$ ./text2pdf.pl
Usage:
txt2pdf <options> <textfilename>
$ ./text2pdf.pl file.txt
Please specify a file name or glob with --in=<filename>
$ ./text2pdf.pl --help
MC's Text to PDF converter (very cheesy, but useful nonetheless)
Usage:
txt2pdf [options] <source file name>
Options:
--lpp=## specify number of lines per page
Note: portrait/landscape, margins and font size all affect the
placement of text on a page. You may need to experiment
--left=## specify left margin in points. 72 points = 1 inch
--top=## specify top margin in points. 36 points = .5 inch
-h, --help This help page
--size=## Set font size; default is 7.25
--spacing=# Set the spacing between lines; default is 8
-b, -B Set bold type to on; default is not bold
-l, -L Set doc to landscape; default is portrait
Special thanks to Alfred Reibenschuh for such a cool Perl module!
Also, many thanks to the PDF::API2 community for such great ideas.
More information about the pkg-perl-maintainers
mailing list